Skip to content

Instantly share code, notes, and snippets.

@salrashid123
Created February 6, 2018 15:24
Show Gist options
  • Save salrashid123/506746294cd3f1e98a89870ede0a813f to your computer and use it in GitHub Desktop.
Save salrashid123/506746294cd3f1e98a89870ede0a813f to your computer and use it in GitHub Desktop.
istio_doc_destination
$ istioctl create -f destination-rule.yaml
$ kubectl get po,deployments,svc,ing
NAME READY STATUS RESTARTS AGE
po/be-v1-16151855-r8hn1 2/2 Running 0 29s
po/be-v2-4191276971-6j9q3 2/2 Running 0 28s
po/myapp-v1-2518991625-h521p 2/2 Running 0 29s
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
deploy/be-v1 1 1 1 1 29s
deploy/be-v2 1 1 1 1 29s
deploy/myapp-v1 1 1 1 1 29s
deploy/myapp-v2 0 0 0 0 29s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment