Last active
October 28, 2020 04:04
-
-
Save onefoursix/d29e25e6c3ace4950bd16143dfc2433c to your computer and use it in GitHub Desktop.
nginx-ingress.yaml that routes to nginx NodePort Service
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: nginx-ingress | |
annotations: | |
kubernetes.io/ingress.class: nginx | |
spec: | |
rules: | |
- host: | |
http: | |
paths: | |
- path: / | |
backend: | |
serviceName: nginx | |
servicePort: 31901 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment