File tree 3 files changed +28
-13
lines changed
3 files changed +28
-13
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ type HealthCheck struct {
27
27
GracePeriodSeconds int `json:"gracePeriodSeconds,omitempty"`
28
28
IntervalSeconds int `json:"intervalSeconds,omitempty"`
29
29
TimeoutSeconds int `json:"timeoutSeconds,omitempty"`
30
+ DelaySeconds int `json:"delaySeconds,omitempty"`
30
31
IgnoreHTTP1xx * bool `json:"ignoreHttp1xx,omitempty"`
31
32
}
32
33
@@ -80,6 +81,7 @@ func NewDefaultHealthCheck() *HealthCheck {
80
81
GracePeriodSeconds : 30 ,
81
82
IntervalSeconds : 10 ,
82
83
TimeoutSeconds : 5 ,
84
+ DelaySeconds : 15 ,
83
85
}
84
86
}
85
87
Original file line number Diff line number Diff line change 38
38
"protocol" : " HTTP" ,
39
39
"gracePeriodSeconds" : 30 ,
40
40
"intervalSeconds" : 5 ,
41
- "timeoutSeconds" : 5
41
+ "timeoutSeconds" : 5 ,
42
+ "delaySeconds" : 15
42
43
}
43
44
],
44
45
"instances" : 2 ,
Original file line number Diff line number Diff line change 51
51
"path": "/",
52
52
"portIndex": 0,
53
53
"protocol": "HTTP",
54
- "timeoutSeconds": 5
54
+ "timeoutSeconds": 5,
55
+ "delaySeconds": 15
55
56
}
56
57
],
57
58
"id": "/fake-app",
117
118
"path": "/",
118
119
"portIndex": 0,
119
120
"protocol": "HTTP",
120
- "timeoutSeconds": 20
121
+ "timeoutSeconds": 20,
122
+ "delaySeconds": 15
121
123
}
122
124
],
123
125
"id": "/fake-app",
180
182
"path": "/",
181
183
"portIndex": 0,
182
184
"protocol": "HTTP",
183
- "timeoutSeconds": 20
185
+ "timeoutSeconds": 20,
186
+ "delaySeconds": 15
184
187
}
185
188
],
186
189
"id": "/fake-app-broken",
324
327
"path": "/health",
325
328
"portIndex": 0,
326
329
"protocol": "HTTP",
327
- "timeoutSeconds": 10
330
+ "timeoutSeconds": 10,
331
+ "delaySeconds": 15
328
332
}
329
333
],
330
334
"id": "/fake-app",
440
444
"path": "/health",
441
445
"portIndex": 0,
442
446
"protocol": "HTTP",
443
- "timeoutSeconds": 10
447
+ "timeoutSeconds": 10,
448
+ "delaySeconds": 15
444
449
}
445
450
],
446
451
"id": "/fake-app",
569
574
"path": "/health",
570
575
"portIndex": 0,
571
576
"protocol": "HTTP",
572
- "timeoutSeconds": 10
577
+ "timeoutSeconds": 10,
578
+ "delaySeconds": 15
573
579
}
574
580
],
575
581
"id": "/fake-app-broken",
793
799
"intervalSeconds": 10,
794
800
"portIndex": 0,
795
801
"timeoutSeconds": 10,
796
- "maxConsecutiveFailures": 3
802
+ "maxConsecutiveFailures": 3,
803
+ "delaySeconds": 15
797
804
}
798
805
],
799
806
"id": "apache",
830
837
"gracePeriodSeconds": 10,
831
838
"intervalSeconds": 10,
832
839
"timeoutSeconds": 5,
833
- "maxConsecutiveFailures": 2
840
+ "maxConsecutiveFailures": 2,
841
+ "delaySeconds": 15
834
842
}
835
843
],
836
844
"id": "mysql",
867
875
"gracePeriodSeconds": 10,
868
876
"intervalSeconds": 10,
869
877
"timeoutSeconds": 5,
870
- "maxConsecutiveFailures": 2
878
+ "maxConsecutiveFailures": 2,
879
+ "delaySeconds": 15
871
880
}
872
881
],
873
882
"id": "caching",
1227
1236
"path": "/",
1228
1237
"portIndex": 0,
1229
1238
"protocol": "HTTP",
1230
- "timeoutSeconds": 20
1239
+ "timeoutSeconds": 20,
1240
+ "delaySeconds": 15
1231
1241
}
1232
1242
],
1233
1243
"id": "/fake-app",
1290
1300
"path": "/",
1291
1301
"portIndex": 0,
1292
1302
"protocol": "HTTP",
1293
- "timeoutSeconds": 20
1303
+ "timeoutSeconds": 20,
1304
+ "delaySeconds": 15
1294
1305
}
1295
1306
],
1296
1307
"id": "/fake-app-broken",
1327
1338
"path": "/health",
1328
1339
"portIndex": 0,
1329
1340
"protocol": "HTTP",
1330
- "timeoutSeconds": 10
1341
+ "timeoutSeconds": 10,
1342
+ "delaySeconds": 15
1331
1343
}
1332
1344
],
1333
1345
"id": "/no-health-check-results-app",
You can’t perform that action at this time.
0 commit comments