Last active
May 31, 2021 02:18
-
-
Save 0sc/77d8925cc378c9a6a92890e7c08937ca 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: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: ingress-tutorial | |
annotations: | |
nginx.ingress.kubernetes.io/rewrite-target: / | |
spec: | |
backend: | |
serviceName: default-http-backend | |
servicePort: 80 | |
rules: | |
- host: myminikube.info | |
http: | |
paths: | |
- path: / | |
backend: | |
serviceName: echoserver | |
servicePort: 8080 | |
- host: cheeses.all | |
http: | |
paths: | |
- path: /stilton | |
backend: | |
serviceName: stilton-cheese | |
servicePort: 80 | |
- path: /cheddar | |
backend: | |
serviceName: cheddar-cheese | |
servicePort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment