Created
April 29, 2020 15:18
-
-
Save iamlucianojr/87c7516874738a1ba2c0e6e7a26c3706 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: nginx-ingress | |
annotations: | |
kubernetes.io/ingress.class: nginx | |
spec: | |
rules: | |
- host: api.lucianojr.com.br | |
http: | |
paths: | |
- backend: | |
serviceName: nginx | |
servicePort: 80 | |
- host: postgres.lucianojr.com.br | |
http: | |
paths: | |
- backend: | |
serviceName: postgres | |
servicePort: 5432 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment