Connect Kubernetes
This guide covers what to put into the connector form for a Kubernetes cluster.
1. Create a read-only service account
Apply the manifests below. They bind the built-in view role, which covers standard
troubleshooting (pods, pod logs, events, deployments, services, and more) and
any custom resources that have the rbac.authorization.k8s.io/aggregate-to-view label.
They also add some cluster-scoped resources view leaves out.
2. Print three values
3. Fill in the form
In Heplon, open Connectors, select Add connector, then Kubernetes. Enter an arbitrary name and the three values. The cluster is now connected to Heplon.
Notes
- The Heplon server must be able to reach the API URL.
- k3s, kind, EKS, AKS, and GKE all sign their own API server certificate, so the system trust store cannot verify it. Leave the certificate field blank only for a publicly trusted certificate.
viewpicks up custom resources automatically when the operator that installs them labels its own view role withaggregate-to-view. Many do. Argo CD does not, which is why it has its own rule above.