Kubernetes (Direct)
Connect Kubernetes (Direct API) to the Pagerly SRE Agent for cluster inspection.
What the Agent Can Do
List and inspect pods — status, restart counts, OOM kills
List deployments, replica sets, and stateful sets
Get pod logs and events
Check node status and resource usage
Inspect services, configmaps, and secrets metadata
Setup Instructions
Get your Kubernetes API server URL (e.g., from
kubectl cluster-info)Create a service account with read permissions:
kubectl create serviceaccount pagerly -n defaultGet the service account token:
kubectl create token pagerly -n defaultPaste the API server URL and token in the Pagerly dashboard
Required Credentials
Kubernetes API URL
Your K8s API server URL
https://kubernetes.example.com:6443
Service Account Token
Token with read permissions
eyJhbGciOiJSUzI1NiIs...
Context Prompt Tips
"Production namespace is prod. Critical deployments: api, worker, web. Use app label for service identification."
Docs
Last updated
Was this helpful?