Created
November 6, 2020 05:57
-
-
Save wzhliang/585a0027d6ce20081e0c04e8f6f8799f to your computer and use it in GitHub Desktop.
This file contains 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: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: ingress-myservicea | |
annotations: | |
# use the shared ingress-nginx | |
kubernetes.io/ingress.class: "nginx" | |
spec: | |
rules: | |
- host: myservicea.foo.org | |
http: | |
paths: | |
- path: / | |
backend: | |
serviceName: myservicea | |
servicePort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment