Kubernetes dashboard through Ingress Kubernetes dashboard through Ingress kubernetes kubernetes

Kubernetes dashboard through Ingress


This occurs because kubernetes-dashboard-certs doesnot have the file tls.crt and tls.key which are expected by traefik. You should get this in the traefik logs.

Next problems will be between traefik certificates and dashboard certificates. I still not understand how to fix properly this and configure traefik with the option :

 ssl.insecureSkipVerify: "true"

The last one I had, is that http endpoint doesnot accept login, then finally I declare the ingress that redirect http to https like this :

kubectl apply -f - << EOFapiVersion: extensions/v1beta1kind: Ingressmetadata:  labels:    k8s-app: kubernetes-dashboard  name: kubernetes-dashboard  namespace: kubernetes-dashboard  annotations:    kubernetes.io/ingress.class: traefik    traefik.ingress.kubernetes.io/ssl-redirect: "true"spec:  rules:    - host: dashboard.domain.com      http:        paths:          - path: /            backend:              serviceName: kubernetes-dashboard              servicePort: 443EOF