Full Changelog: v0.0.21...v0.0.22
Installation
See the README for a detailed description of data collection and presentation.
- 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
# Include a summary table with one or more annotations
envcheckctl inspect -annotation=prometheus.io/scrape
# Include a summary table filtering by namespace
envcheckctl inspect -annotation=prometheus.io/scrape,prometheus.io/path,prometheus.io/port -include=default,catalog,search
# 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