istioctl CLI¶
istioctl is the command-line interface (CLI) tool used for the configuration and management of Istio service meshes.^[400-devops-07-monitoring-and-observability-istio.md]
Installation¶
On Windows operating systems, the istioctl binary can be installed directly using the Chocolatey package manager by running the command choco install istioctl.^[400-devops-07-monitoring-and-observability-istio.md]
Usage¶
A common operational task involves enabling Automatic sidecar injection for a specific namespace. This allows Istio to automatically inject the Envoy proxy sidecar into new deployments.^[400-devops-07-monitoring-and-observability-istio.md]
For example, to enable injection in the default namespace, the following command is used^[400-devops-07-monitoring-and-observability-istio.md]:
[kubectl](<./kubectl.md>) label namespace default istio-injection=enabled --overwrite
Sources¶
^[400-devops-07-monitoring-and-observability-istio.md]