Kubernetes¶
Installation¶
Step 1 — Apply the full manifest¶
Includes: Namespace, ServiceAccount, ClusterRole, ClusterRoleBinding, Deployment.
Step 2 — Create the secret¶
kubectl create secret generic centinela-token \
--from-literal=SENTINEL_TOKEN="YOUR_API_TOKEN" \
--from-literal=SENTINEL_API_URL="https://centinelai.io" \
-n centinela-system
Step 3 — Restart¶
Step 4 — Verify¶
kubectl get pods -n centinela-system
kubectl logs -n centinela-system -l app=centinela-agent --tail=20
Detected events¶
| Reason | Severity | Description |
|---|---|---|
CrashLoopBackOff |
critical | Pod restarting continuously |
OOMKilled |
critical | Killed due to out-of-memory |
ImagePullBackOff |
warning | Cannot pull the container image |
BackOff |
warning | General backoff |
NodeNotReady |
critical | Node unavailable |
Uninstallation¶
kubectl delete -f https://centinelai.io/api/install/k8s/manifest.yaml
kubectl delete secret centinela-token -n centinela-system
Agent image¶
Source: github.com/centinel-AI/agent