Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tasdikrahman/b20bb925b0a9977859dab861f13a2d38 to your computer and use it in GitHub Desktop.
Save tasdikrahman/b20bb925b0a9977859dab861f13a2d38 to your computer and use it in GitHub Desktop.
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: foo
namespace: default
spec:
host: foo.default.svc.cluster.local
subsets:
- labels:
deployment-id: "1"
name: foo-1
- labels:
deployment-id: "2"
name: foo-2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment