mirror of https://github.com/istio/istio.io.git
add explict instructions to enable autoinject in ns (#1746)
This commit is contained in:
parent
b4ed6f2823
commit
a05a9fc28e
|
|
@ -83,8 +83,19 @@ To start the application, follow the instructions below corresponding to your Is
|
|||
|
||||
* If you are using a cluster with
|
||||
[automatic sidecar injection](/docs/setup/kubernetes/sidecar-injection/#automatic-sidecar-injection)
|
||||
enabled, simply deploy the services using `kubectl`
|
||||
enabled, label the `default` namespace with `istio-injection=enabled`
|
||||
|
||||
{{< text bash >}}
|
||||
$ kubectl label namespace default istio-injection=enabled
|
||||
$ kubectl get namespace -L istio-injection
|
||||
NAME STATUS AGE ISTIO-INJECTION
|
||||
default Active 1h enabled
|
||||
istio-system Active 1h
|
||||
kube-public Active 1h
|
||||
kube-system Active 1h
|
||||
{{< /text >}}
|
||||
|
||||
Then simply deploy the services using `kubectl`
|
||||
{{< text bash >}}
|
||||
$ kubectl apply -f @samples/bookinfo/platform/kube/bookinfo.yaml@
|
||||
{{< /text >}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue