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
@@ -109,6 +110,7 @@ func NewDefaultHealthCheck() *HealthCheck {
109
110
GracePeriodSeconds : 30 ,
110
111
IntervalSeconds : 10 ,
111
112
TimeoutSeconds : 5 ,
113
+ DelaySeconds : 15 ,
112
114
}
113
115
}
114
116
Original file line number Diff line number Diff line change 34
34
"protocol" : " HTTP" ,
35
35
"gracePeriodSeconds" : 30 ,
36
36
"intervalSeconds" : 5 ,
37
- "timeoutSeconds" : 5
37
+ "timeoutSeconds" : 5 ,
38
+ "delaySeconds" : 15
38
39
}
39
40
],
40
41
"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",
126
127
"path": "/",
127
128
"portIndex": 0,
128
129
"protocol": "HTTP",
129
- "timeoutSeconds": 20
130
+ "timeoutSeconds": 20,
131
+ "delaySeconds": 15
130
132
}
131
133
],
132
134
"id": "/fake-app",
194
196
"path": "/",
195
197
"portIndex": 0,
196
198
"protocol": "HTTP",
197
- "timeoutSeconds": 20
199
+ "timeoutSeconds": 20,
200
+ "delaySeconds": 15
198
201
}
199
202
],
200
203
"id": "/fake-app-broken",
342
345
"path": "/health",
343
346
"portIndex": 0,
344
347
"protocol": "HTTP",
345
- "timeoutSeconds": 10
348
+ "timeoutSeconds": 10,
349
+ "delaySeconds": 15
346
350
}
347
351
],
348
352
"id": "/fake-app",
463
467
"path": "/health",
464
468
"portIndex": 0,
465
469
"protocol": "HTTP",
466
- "timeoutSeconds": 10
470
+ "timeoutSeconds": 10,
471
+ "delaySeconds": 15
467
472
}
468
473
],
469
474
"id": "/fake-app",
597
602
"path": "/health",
598
603
"portIndex": 0,
599
604
"protocol": "HTTP",
600
- "timeoutSeconds": 10
605
+ "timeoutSeconds": 10,
606
+ "delaySeconds": 15
601
607
}
602
608
],
603
609
"id": "/fake-app-broken",
1405
1411
"intervalSeconds": 10,
1406
1412
"portIndex": 0,
1407
1413
"timeoutSeconds": 10,
1408
- "maxConsecutiveFailures": 3
1414
+ "maxConsecutiveFailures": 3,
1415
+ "delaySeconds": 15
1409
1416
}
1410
1417
],
1411
1418
"id": "apache",
1442
1449
"gracePeriodSeconds": 10,
1443
1450
"intervalSeconds": 10,
1444
1451
"timeoutSeconds": 5,
1445
- "maxConsecutiveFailures": 2
1452
+ "maxConsecutiveFailures": 2,
1453
+ "delaySeconds": 15
1446
1454
}
1447
1455
],
1448
1456
"id": "mysql",
1479
1487
"gracePeriodSeconds": 10,
1480
1488
"intervalSeconds": 10,
1481
1489
"timeoutSeconds": 5,
1482
- "maxConsecutiveFailures": 2
1490
+ "maxConsecutiveFailures": 2,
1491
+ "delaySeconds": 15
1483
1492
}
1484
1493
],
1485
1494
"id": "caching",
1839
1848
"path": "/",
1840
1849
"portIndex": 0,
1841
1850
"protocol": "HTTP",
1842
- "timeoutSeconds": 20
1851
+ "timeoutSeconds": 20,
1852
+ "delaySeconds": 15
1843
1853
}
1844
1854
],
1845
1855
"id": "/fake-app",
1906
1916
"path": "/",
1907
1917
"portIndex": 0,
1908
1918
"protocol": "HTTP",
1909
- "timeoutSeconds": 20
1919
+ "timeoutSeconds": 20,
1920
+ "delaySeconds": 15
1910
1921
}
1911
1922
],
1912
1923
"id": "/fake-app-broken",
1943
1954
"path": "/health",
1944
1955
"portIndex": 0,
1945
1956
"protocol": "HTTP",
1946
- "timeoutSeconds": 10
1957
+ "timeoutSeconds": 10,
1958
+ "delaySeconds": 15
1947
1959
}
1948
1960
],
1949
1961
"id": "/no-health-check-results-app",
You can’t perform that action at this time.
0 commit comments