Skip to content

Instantly share code, notes, and snippets.

@ToroNZ
Last active April 20, 2018 04:33
Show Gist options
  • Save ToroNZ/8da93d44d85c379373938e4542d36a5b to your computer and use it in GitHub Desktop.
Save ToroNZ/8da93d44d85c379373938e4542d36a5b to your computer and use it in GitHub Desktop.
Expose Kubernetes Dashboard
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: kube-dash
namespace: kube-system
annotations:
kubernetes.io/ingress.class: traefik
spec:
rules:
- host: kube-dash.k8s.example.org
http:
paths:
- backend:
serviceName: kubernetes-dashboard
servicePort: 80
tls:
- secretName: traefik-web-cert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment