Last active
February 10, 2019 08:28
-
-
Save identor/7cb56b947de525a65f2bbd1b6cb3719a to your computer and use it in GitHub Desktop.
Kubernetes: Setting up fanout ingress GCP
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: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: fanout-ingress | |
annotations: | |
kubernetes.io/ingress.global-static-ip-name: "web-static-ip" | |
spec: | |
rules: | |
- http: | |
paths: | |
- path: /* | |
backend: | |
serviceName: web | |
servicePort: 8080 | |
- path: /v2/* | |
backend: | |
serviceName: web2 | |
servicePort: 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment