Fix CNI Helm installation instructions (#4855)

* Install istio-cni into kube-system to use system-node-critical priorityClass

Fixes: https://github.com/istio/istio/issues/16577

* Add instructions to delete CNI Helm chart

Fixes: https://github.com/istio/istio/issues/16578
This commit is contained in:
Romain Lenglet 2019-08-27 13:44:52 -07:00 committed by Istio Automation
parent dc05694f8a
commit 4a43a3d2cc
2 changed files with 18 additions and 4 deletions

View File

@ -84,7 +84,7 @@ Use the following command to render and apply Istio CNI components and override
`istio-cni` Helm chart's `logLevel` and `excludeNamespaces` parameters:
{{< text bash >}}
$ helm template install/kubernetes/helm/istio-cni --name=istio-cni --namespace=istio-system \
$ helm template install/kubernetes/helm/istio-cni --name=istio-cni --namespace=kube-system \
--set logLevel=info \
--set excludeNamespaces={"istio-system,kube-system,foo_ns,bar_ns"} | kubectl apply -f -
{{< /text >}}
@ -117,7 +117,7 @@ The following table shows the required settings for many common Kubernetes envir
For example, the following `helm install` command sets the `cniBinDir` value for a GKE cluster:
{{< text bash >}}
$ helm install install/kubernetes/helm/istio-cni --name=istio-cni --namespace=istio-system --set cniBinDir=/home/kubernetes/bin
$ helm install install/kubernetes/helm/istio-cni --name=istio-cni --namespace=kube-system --set cniBinDir=/home/kubernetes/bin
{{< /text >}}
## Sidecar injection compatibility

View File

@ -155,7 +155,7 @@ $ helm template install/kubernetes/helm/istio --name istio --namespace istio-sys
Install the [Istio CNI](/docs/setup/additional-setup/cni/) components:
{{< text bash >}}
$ helm template install/kubernetes/helm/istio-cni --name=istio-cni --namespace=istio-system | kubectl apply -f -
$ helm template install/kubernetes/helm/istio-cni --name=istio-cni --namespace=kube-system | kubectl apply -f -
{{< /text >}}
Enable CNI in Istio by setting `--set istio_cni.enabled=true` in addition to the settings for your chosen profile.
@ -259,7 +259,7 @@ $ helm install install/kubernetes/helm/istio --name istio --namespace istio-syst
Install the [Istio CNI](/docs/setup/additional-setup/cni/) chart:
{{< text bash >}}
$ helm install install/kubernetes/helm/istio-cni --name istio-cni --namespace istio-system
$ helm install install/kubernetes/helm/istio-cni --name istio-cni --namespace kube-system
{{< /text >}}
Enable CNI in Istio by setting `--set istio_cni.enabled=true` in addition to the settings for your chosen profile.
@ -344,6 +344,19 @@ $ kubectl delete namespace istio-system
{{< /tab >}}
{{< tab name="Istio CNI enabled" cookie-value="cni" >}}
{{< text bash >}}
$ helm template install/kubernetes/helm/istio --name istio --namespace istio-system \
--set istio_cni.enabled=true | kubectl delete -f -
{{< /text >}}
{{< text bash >}}
$ helm template install/kubernetes/helm/istio-cni --name=istio-cni --namespace=kube-system | kubectl delete -f -
{{< /text >}}
{{< /tab >}}
{{< /tabset >}}
* If you installed Istio using Helm and Tiller, uninstall with these commands:
@ -351,6 +364,7 @@ $ kubectl delete namespace istio-system
{{< text bash >}}
$ helm delete --purge istio
$ helm delete --purge istio-init
$ helm delete --purge istio-cni
{{< /text >}}
## Deleting CRDs and Istio Configuration