Last active
November 16, 2017 13:52
-
-
Save tamalsaha/e1f9237d2dcdcc045e19455d3bba3fc2 to your computer and use it in GitHub Desktop.
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: voyager.appscode.com/v1beta1 | |
kind: Ingress | |
metadata: | |
name: fanout-demo | |
annotations: | |
ingress.appscode.com/type: NodePort | |
ingress.appscode.com/force-service-port: "false" | |
spec: | |
rules: | |
- http: | |
paths: | |
- path: /myapp | |
backend: | |
serviceName: echo | |
servicePort: 80 | |
rewriteRule: | |
- '^([^\ ]*\ )/myapp(.*) \1\2' |
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
kubectl run echoserver --image=gcr.io/google_containers/echoserver:1.4 | |
kubectl expose deployment echoserver --name=echo --port=80 --target-port=8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://stackoverflow.com/questions/46865630/kubernetes-fanout-ingress-using-voyager-seems-to-be-not-working/46878389#46878389