Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languageshell
titleShell Command
 kubectl apply -f dashboard-ingress.yaml


Check the address exposed and add in the /etc/hosts as dashboard.da

Code Block
languageshell
titleShell Command
kubectl get ingress -n kubernetes-dashboard


🧠 You must configure a DNS entry or /etc/hosts pointing dashboard.da to your ingress controller IP.

...

Copy the token and use it to log in at https://dashboard.da


54 🔒 Create a TLS Secret

If you're not using a wildcard or auto TLS (e.g. via cert-manager), you can create your own TLS secret:

Code Block
languageshell
titleShell Command
kubectl -n kubernetes-dashboard create secret tls dashboard-tls \ --cert=/path/to/cert.crt \ --key=/path/to/cert.key

...