Skip to content

Instantly share code, notes, and snippets.

@skiptomyliu
Created July 4, 2018 23:23
Show Gist options
  • Save skiptomyliu/17800d7098435a95fb0e2741adf5bc10 to your computer and use it in GitHub Desktop.
Save skiptomyliu/17800d7098435a95fb0e2741adf5bc10 to your computer and use it in GitHub Desktop.
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