Created
July 4, 2018 23:23
-
-
Save skiptomyliu/17800d7098435a95fb0e2741adf5bc10 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: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: echoserver | |
namespace: echoserver | |
annotations: | |
kubernetes.io/ingress.class: nginx | |
spec: | |
tls: | |
- hosts: | |
- yourdomain.com | |
secretName: echoserver-tls-prod | |
rules: | |
- host: yourdomain.com | |
http: | |
paths: | |
- path: / | |
backend: | |
serviceName: echoserver | |
servicePort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment