mirror of https://github.com/istio/istio.io.git
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:
parent
34a2b7a2b9
commit
78775a6201
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue