Task |
Command |
Endpoint |
List all namespaces |
kubectl get namespaces |
GET /api/v1/namespaces?limit=500 |
List deployments in current namespace |
kubectl describe namespaces <namespace> |
GET /api/v1/namespace/<namespace> |
List deployments in current namespace |
kubectl get deployments |
GET /api/v1/namespace/<namespace>/deployments |
List pods in current namespace |
kubectl get pods |
GET /api/v1/namespace/<namespace>/pods |
Notes:
-
the "current namespace" is going to be "default" unless you specify something else in "Healthcheck Namespace"
-
when that flag is set, you can configure a different namespace at the bottom of each resource config page, under Clusters