1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-18 20:21:45 +00:00
Files
geek-cookbook/manuscript/recipes/kubernetes/kubernetes-dashboard.md
2020-06-03 01:39:26 +00:00

1.8 KiB

Kubernetes Dashboard

Yes, Kubernetes is complicated. There are lots of moving parts, and debugging what's gone wrong and why, can be challenging.

Fortunately, to assist in day-to-day operation of our cluster, and in the occasional "how-did-that-ever-work" troubleshooting, we have available to us, the mighty Kubernetes Dashboard:

Kubernetes Dashboard Screenshotimages/kubernetes-dashboard.png)

Using the dashboard, you can:

  • Visual cluster load, pod distribution
  • Examine Kubernetes objects, such as Deployments, Daemonsets, ConfigMaps, etc
  • View logs
  • Deploy new YAML manifests
  • Lots more!

Ingredients

  1. A Kubernetes Clusterkubernetes/design/), with
  2. OIDC-enabled authentication
  3. An Ingress Controller (Traefik Ingresskubernetes/traefik/) or NGinx Ingresskubernetes/nginx-ingress/))
  4. A DNS name for your dashboard instance (dashboard.example.com, below) pointing to your load balancerkubernetes/loadbalancer/), fronting your ingress controller
  5. A KeyCloakrecipes/keycloak/) instance for authentication

Preparation

Access Kanboard

At this point, you should be able to access your instance on your chosen DNS name (i.e. https://dashboard.example.com)

Chef's Notes

  1. The simplest deployment of Kanboard uses the default SQLite database backend, stored on the persistent volume. You can convert this to a "real" database running MySQL or PostgreSQL, and running an an additional database pod and service. Contact me if you'd like further details ;)