Created
October 9, 2018 04:34
-
-
Save tanan/86eb94cf87e3e5bc94d3ed7454d06df9 to your computer and use it in GitHub Desktop.
create istio destination rule
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: networking.istio.io/v1alpha3 | |
kind: DestinationRule | |
metadata: | |
name: nginx-dr | |
namespace: default | |
spec: | |
host: nginx-svc.sample-ns.svc.cluster.local | |
subsets: | |
- name: blue | |
labels: | |
version: blue | |
- name: green | |
labels: | |
version: green |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment