Kubernetes ClusterIP service
190-k8s-service-clusterip.yaml
Kubernetes
What this example does
Internal service discovery and application readiness; run from inside cluster.
Checks and behavior
- Internal service discovery and application readiness; run from inside cluster.
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 ClusterIP service
url: http://orders.default.svc.cluster.local:8080/health
metadata:
owner: platform-operations
environment: production
runbook: https://ipsonic.com/probe/kubernetes.html
tags: [kubernetes, service]
timeouts:
connect: 3
response: 6
total: 12
tests:
status:
allow: [200]
monitoring:
output: nagios
on_failure: critical