Skip to content

Instantly share code, notes, and snippets.

@akhenakh
Created March 13, 2019 23:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akhenakh/f7783ac465842196be581c5cb7c283b2 to your computer and use it in GitHub Desktop.
Save akhenakh/f7783ac465842196be581c5cb7c283b2 to your computer and use it in GitHub Desktop.
Kubernetes Dashboard Ingress, don't do that in production for your dev only (minikube ...), you need an ingress controller as Traefik or Nginx ..., kubectl create -f deployment/dev/dashboard-ingress.yaml
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: dashboard-ingress
namespace: kube-system
spec:
rules:
- host: dashboard.minikube
http:
paths:
- path: /
backend:
serviceName: kubernetes-dashboard
servicePort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment