update enable cni install instruction (#3594)

* update instruction

to apply the yaml and match what we used in other install doc

* additional update
This commit is contained in:
Lin Sun 2019-03-08 16:39:36 -05:00 committed by istio-bot
parent 34a2b7a2b9
commit 78775a6201
1 changed files with 5 additions and 7 deletions

View File

@ -82,8 +82,8 @@ replaces the functionality provided by the `istio-init` container.
1. Add the `--set istio_cni.enabled=true` setting to the [Istio Installation with Helm procedure](/docs/setup/kubernetes/install/helm/) to include the installation of the Istio CNI plugin. For example:
{{< text bash >}}
$ helm template install/kubernetes/helm/istio --name istio --namespace istio-system \
--set istio_cni.enabled=true > $HOME/istio.yaml
$ helm template $HOME/istio-fetch/istio --name istio --namespace istio-system \
--set istio_cni.enabled=true | kubectl apply -f -
{{< /text >}}
### Example: excluding specific Kubernetes namespaces
@ -103,16 +103,14 @@ The following example configures the Istio CNI plugin to ignore pods in the name
{{< text bash >}}
$ helm template $HOME/istio-fetch/istio-cni --name=istio-cni --namespace=istio-system \
--set logLevel=info \
--set excludeNamespaces={"istio-system,foo_ns,bar_ns"} > $HOME/istio-cni.yaml
$ kubectl apply -f $HOME/istio-cni.yaml
--set excludeNamespaces={"istio-system,kube-system,foo_ns,bar_ns"} | kubectl apply -f -
{{< /text >}}
1. Create and apply Istio manifest with the Istio CNI plugin enabled:
{{< text bash >}}
$ helm template install/kubernetes/helm/istio --name istio --namespace istio-system \
--set istio_cni.enabled=true > $HOME/istio.yaml
$ kubectl apply -f $HOME/istio.yaml
$ helm template $HOME/istio-fetch/istio --name istio --namespace istio-system \
--set istio_cni.enabled=true | kubectl apply -f -
{{< /text >}}
### Helm chart parameters