Last active
October 10, 2017 12:33
-
-
Save 0xAhmed/e683fbfab8f765156f73d10428f48e2c to your computer and use it in GitHub Desktop.
Example k8s Ingress for Canary routes
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
kind: Ingress | |
apiVersion: extensions/v1beta1 | |
metadata: | |
name: app-ingress | |
spec: | |
backend: | |
serviceName: kubeapp-production-service | |
servicePort: 80 | |
rules: | |
- host: canary.foo.bar | |
http: | |
paths: | |
- backend: | |
serviceName: kubeapp-canary-service | |
servicePort: 80 | |
- host: foo.bar | |
http: | |
paths: | |
- backend: | |
serviceName: kubeapp-production-service | |
servicePort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment