mirror of https://github.com/istio/istio.io.git
818 B
818 B
| title | weight |
|---|---|
| How to disable mutual TLS on clients to access the Kubernetes API Server (or any control services that don't have Istio sidecar)? | 60 |
This issue occurs when Istio is installed with global mutual TLS enabled. Using authentication policy, mutual TLS can be enabled selectively per service, hence can avoid this problem. Discussion below are for releases before 0.8.
For a quick reference, here are commands to edit Istio configmap and to restart pilot.
{{< text bash >}} $ kubectl edit configmap -n istio-system istio $ kubectl delete pods -n istio-system -l istio=pilot {{< /text >}}
Do not use this approach to disable mutual TLS for services that are managed by Istio (i.e. using Istio sidecar). Instead, use service-level annotations to overwrite the authentication policy (see above).