Changes
- Upgrade k8s.io client dependencies to v0.24.10.
- Fix various dependabot alerts.
- Add additional logic to inspect for OpenShift specific discovery.
Common Usage
- Download the appropriate binary for your workstation below using curl
curl -L -O ${DOWNLOAD_URL}
:
- Linux: envcheckctl.amd64
- OS X: envcheckctl.darwin64
- Windows: envcheckctl.exe
- If linux/OS X make the binary executable
chmod 700 ${PATH_TO_BINARY}
.
- Execute with the target subcommand:
${PATH_TO_BINARY} inspect
.
Examples
# Debug agent installation in a cluster
envcheckctl agent
# Debug agent installation in a custom namespace
envcheckctl agent -ns=my-custom-ns
# Extract a debug configuration from the cluster, using default context for kubectl.
envcheckctl inspect
# Extract a debug configuration from the cluster, using a specific kubeconfig file
envcheckctl inspect -kubeconfig $KUBECONFIG
# List the Instana agent K8S leader
envcheckctl leader
# Install daemon into instana-agent namespace
envcheckctl daemon
# Install daemon into custom namespace
envcheckctl daemon -ns=my-custom-ns
# View logs from daemon
kubectl logs -n instana-agent -l app.kubernetes.io/name=envchecker -f
# Install ping client into default namespace
envcheckctl ping
# Install ping client into custom namespace
envcheckctl ping -ns=my-custom-ns
# ping host/IP instead of nodeIP
envcheckctl ping -host=$HOST
# ping gateway instead of nodeIP
envcheckctl ping -use-gateway
# view logs from ping client
kubectl logs -l app.kubernetes.io/name=pinger -f