mirror of https://github.com/istio/istio.io.git
update command to check connected istiod. (#8575)
This commit is contained in:
parent
638df7900f
commit
cc114d6180
|
@ -62,8 +62,8 @@ Unlike istiod, Istio gateways do not run revision-specific instances, but are in
|
|||
You can verify that the `istio-ingress` gateway is using the `canary` revision by running the following command:
|
||||
|
||||
{{< text bash >}}
|
||||
$ istioctl proxy-config endpoints $(kubectl -n istio-system get pod -l app=istio-ingressgateway -o jsonpath='{.items..metadata.name}').istio-system --cluster xds-grpc -ojson | grep hostname
|
||||
"hostname": "istiod-canary.istio-system.svc"
|
||||
$ istioctl proxy-status | grep $(kubectl -n istio-system get pod -l app=istio-ingressgateway -o jsonpath='{.items..metadata.name}') | awk '{print $8}'
|
||||
istiod-canary-6956db645c-vwhsk
|
||||
{{< /text >}}
|
||||
|
||||
However, simply installing the new revision has no impact on the existing sidecar proxies. To upgrade these,
|
||||
|
@ -94,8 +94,8 @@ $ kubectl get pods -n test-ns -l istio.io/rev=canary
|
|||
To verify that the new pods in the `test-ns` namespace are using the `istiod-canary` service corresponding to the `canary` revision, select one newly created pod and use the `pod_name` in the following command:
|
||||
|
||||
{{< text bash >}}
|
||||
$ istioctl proxy-config endpoints ${pod_name}.test-ns --cluster xds-grpc -ojson | grep hostname
|
||||
"hostname": "istiod-canary.istio-system.svc"
|
||||
$ istioctl proxy-status | grep ${pod_name} | awk '{print $8}'
|
||||
istiod-canary-6956db645c-vwhsk
|
||||
{{< /text >}}
|
||||
|
||||
The output confirms that the pod is using `istiod-canary` revision of the control plane.
|
||||
|
|
Loading…
Reference in New Issue