File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "plugin" : " custom" ,
3
+ "pluginConfig" : {
4
+ "invoke_interval" : " 10s" ,
5
+ "timeout" : " 3m" ,
6
+ "max_output_length" : 80 ,
7
+ "concurrency" : 1
8
+ },
9
+ "source" : " health-checker" ,
10
+ "metricsReporting" : true ,
11
+ "conditions" : [
12
+ {
13
+ "type" : " ContainerRuntimeUnhealthy" ,
14
+ "reason" : " ContainerRuntimeIsHealthy" ,
15
+ "message" : " Container runtime on the node is functioning properly"
16
+ }
17
+ ],
18
+ "rules" : [
19
+ {
20
+ "type" : " permanent" ,
21
+ "condition" : " ContainerRuntimeUnhealthy" ,
22
+ "reason" : " ContainerdUnhealthy" ,
23
+ "path" : " /home/kubernetes/bin/health-checker" ,
24
+ "args" : [
25
+ " --component=cri" ,
26
+ " --enable-repair=true" ,
27
+ " --cooldown-time=2m" ,
28
+ " --health-check-timeout=60s"
29
+ ],
30
+ "timeout" : " 3m"
31
+ }
32
+ ]
33
+ }
You can’t perform that action at this time.
0 commit comments