mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-02-14 18:09:57 +00:00
34 lines
775 B
JSON
34 lines
775 B
JSON
{
|
|
"plugin": "custom",
|
|
"pluginConfig": {
|
|
"invoke_interval": "10s",
|
|
"timeout": "3m",
|
|
"max_output_length": 80,
|
|
"concurrency": 1
|
|
},
|
|
"source": "health-checker",
|
|
"metricsReporting": true,
|
|
"conditions": [
|
|
{
|
|
"type": "ContainerRuntimeUnhealthy",
|
|
"reason": "ContainerRuntimeIsHealthy",
|
|
"message": "Container runtime on the node is functioning properly"
|
|
}
|
|
],
|
|
"rules": [
|
|
{
|
|
"type": "permanent",
|
|
"condition": "ContainerRuntimeUnhealthy",
|
|
"reason": "ContainerdUnhealthy",
|
|
"path": "/home/kubernetes/bin/health-checker",
|
|
"args": [
|
|
"--component=cri",
|
|
"--enable-repair=true",
|
|
"--cooldown-time=2m",
|
|
"--health-check-timeout=60s"
|
|
],
|
|
"timeout": "3m"
|
|
}
|
|
]
|
|
}
|