Skip to content

Instantly share code, notes, and snippets.

@rinormaloku
Created January 6, 2019 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rinormaloku/8fdbbf88d99611c292d3ca0c07b8fc9a to your computer and use it in GitHub Desktop.
Save rinormaloku/8fdbbf88d99611c292d3ca0c07b8fc9a to your computer and use it in GitHub Desktop.
[Destination Rule SA-Logic] defining subsets for Introduction to Istio series https://rinormaloku.com/istio-an-introduction/ #istio
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: sa-logic
spec:
host: sa-logic # 1
subsets:
- name: v1 # 2
labels:
version: v1 # 3
- name: v2
labels:
version: v2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment