Created
February 16, 2022 10:41
-
-
Save jirkapinkas/b3c4a5233ef7f27d02e349dd6dda4b47 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/v1 | |
kind: Ingress | |
metadata: | |
name: myingress | |
labels: | |
name: myingress | |
spec: | |
rules: | |
- host: nginx.example.com | |
http: | |
paths: | |
- pathType: Prefix | |
path: "/" | |
backend: | |
service: | |
name: nginx | |
port: | |
number: 80 | |
- host: demo.example.com | |
http: | |
paths: | |
- pathType: Prefix | |
path: "/" | |
backend: | |
service: | |
name: demo | |
port: | |
number: 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment