Kubernetes GitOps controller health
196-k8s-gitops-health.yaml
Kubernetes
What this example does
Example internal controller health endpoint; adapt to your deployment.
Checks and behavior
- Example internal controller health endpoint; adapt to your deployment.
Example hostnames and endpoints must be adapted. API-server probes require explicitly scoped RBAC; no cluster-admin credentials.
YAML configuration
# Kubernetes operator example. Replace sample names/addresses before use.
name: Kubernetes GitOps controller health
url: http://argocd-server.argocd.svc.cluster.local/healthz
metadata:
owner: platform-operations
environment: production
runbook: https://ipsonic.com/probe/kubernetes.html
tags: [kubernetes, gitops]
timeouts:
connect: 3
response: 6
total: 12
tests:
status:
allow: [200]
monitoring:
output: nagios
on_failure: critical