mirror of https://github.com/istio/istio.io.git
Add -n to uses of samples/multicluster/expose-istiod.yaml (#9581)
* fix uses of samples/multicluster/expose-istiod.yaml * rm zh file
This commit is contained in:
parent
aecb683f3f
commit
520aca1ad9
|
@ -103,7 +103,7 @@ _verify_elided run_curl "${snip_reaching_kubernetes_services_from_the_virtual_ma
|
|||
|
||||
# @cleanup
|
||||
docker stop vm
|
||||
kubectl delete -f samples/multicluster/expose-istiod.yaml --ignore-not-found=true
|
||||
kubectl delete -f samples/multicluster/expose-istiod.yaml -n istio-system --ignore-not-found=true
|
||||
istioctl manifest generate | kubectl delete -f - --ignore-not-found=true
|
||||
cleanup_sleep_sample
|
||||
kubectl delete namespace istio-system vm bookinfo --ignore-not-found=true
|
||||
|
|
|
@ -108,7 +108,7 @@ Before we can install on `cluster2`, we need to first expose the control plane i
|
|||
`cluster1` so that services in `cluster2` will be able to access service discovery:
|
||||
|
||||
{{< text bash >}}
|
||||
$ kubectl apply --context="${CTX_CLUSTER1}" -f \
|
||||
$ kubectl apply --context="${CTX_CLUSTER1}" -n istio-system -f \
|
||||
@samples/multicluster/expose-istiod.yaml@
|
||||
{{< /text >}}
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ istio-eastwestgateway LoadBalancer 10.80.6.124 34.75.71.237 ... 51
|
|||
ENDSNIP
|
||||
|
||||
snip_expose_the_control_plane_in_cluster1_1() {
|
||||
kubectl apply --context="${CTX_CLUSTER1}" -f \
|
||||
kubectl apply --context="${CTX_CLUSTER1}" -n istio-system -f \
|
||||
samples/multicluster/expose-istiod.yaml
|
||||
}
|
||||
|
||||
|
|
|
@ -152,7 +152,7 @@ Install Istio and expose the control plane on cluster so that your virtual machi
|
|||
Expose the control plane:
|
||||
|
||||
{{< text syntax=bash snip_id=expose_istio >}}
|
||||
$ kubectl apply -f @samples/multicluster/expose-istiod.yaml@
|
||||
$ kubectl apply -n istio-system -f @samples/multicluster/expose-istiod.yaml@
|
||||
{{< /text >}}
|
||||
|
||||
{{< /tab >}}
|
||||
|
@ -162,7 +162,7 @@ Install Istio and expose the control plane on cluster so that your virtual machi
|
|||
Expose the control plane:
|
||||
|
||||
{{< text bash >}}
|
||||
$ kubectl apply -f @samples/multicluster/expose-istiod.yaml@
|
||||
$ kubectl apply -n istio-system -f @samples/multicluster/expose-istiod.yaml@
|
||||
{{< /text >}}
|
||||
|
||||
Expose cluster services:
|
||||
|
@ -478,7 +478,7 @@ $ sudo rpm -e istio-sidecar
|
|||
To uninstall Istio, run the following command:
|
||||
|
||||
{{< text bash >}}
|
||||
$ kubectl delete -f @samples/multicluster/expose-istiod.yaml@
|
||||
$ kubectl delete -n istio-system -f @samples/multicluster/expose-istiod.yaml@
|
||||
$ istioctl manifest generate | kubectl delete -f -
|
||||
{{< /text >}}
|
||||
|
||||
|
|
|
@ -80,11 +80,11 @@ samples/multicluster/gen-eastwest-gateway.sh \
|
|||
}
|
||||
|
||||
snip_expose_istio() {
|
||||
kubectl apply -f samples/multicluster/expose-istiod.yaml
|
||||
kubectl apply -n istio-system -f samples/multicluster/expose-istiod.yaml
|
||||
}
|
||||
|
||||
snip_install_the_istio_control_plane_7() {
|
||||
kubectl apply -f samples/multicluster/expose-istiod.yaml
|
||||
kubectl apply -n istio-system -f samples/multicluster/expose-istiod.yaml
|
||||
}
|
||||
|
||||
snip_install_the_istio_control_plane_8() {
|
||||
|
@ -243,7 +243,7 @@ sudo rpm -e istio-sidecar
|
|||
}
|
||||
|
||||
snip_uninstall_4() {
|
||||
kubectl delete -f samples/multicluster/expose-istiod.yaml
|
||||
kubectl delete -n istio-system -f samples/multicluster/expose-istiod.yaml
|
||||
istioctl manifest generate | kubectl delete -f -
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue