File tree Expand file tree Collapse file tree 3 files changed +28
-13
lines changed
Expand file tree Collapse file tree 3 files changed +28
-13
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ type HealthCheck struct {
2727 GracePeriodSeconds int `json:"gracePeriodSeconds,omitempty"`
2828 IntervalSeconds int `json:"intervalSeconds,omitempty"`
2929 TimeoutSeconds int `json:"timeoutSeconds,omitempty"`
30+ DelaySeconds int `json:"delaySeconds,omitempty"`
3031 IgnoreHTTP1xx * bool `json:"ignoreHttp1xx,omitempty"`
3132}
3233
@@ -80,6 +81,7 @@ func NewDefaultHealthCheck() *HealthCheck {
8081 GracePeriodSeconds : 30 ,
8182 IntervalSeconds : 10 ,
8283 TimeoutSeconds : 5 ,
84+ DelaySeconds : 15 ,
8385 }
8486}
8587
Original file line number Diff line number Diff line change 3838 "protocol" : " HTTP" ,
3939 "gracePeriodSeconds" : 30 ,
4040 "intervalSeconds" : 5 ,
41- "timeoutSeconds" : 5
41+ "timeoutSeconds" : 5 ,
42+ "delaySeconds" : 15
4243 }
4344 ],
4445 "instances" : 2 ,
Original file line number Diff line number Diff line change 5151 "path": "/",
5252 "portIndex": 0,
5353 "protocol": "HTTP",
54- "timeoutSeconds": 5
54+ "timeoutSeconds": 5,
55+ "delaySeconds": 15
5556 }
5657 ],
5758 "id": "/fake-app",
117118 "path": "/",
118119 "portIndex": 0,
119120 "protocol": "HTTP",
120- "timeoutSeconds": 20
121+ "timeoutSeconds": 20,
122+ "delaySeconds": 15
121123 }
122124 ],
123125 "id": "/fake-app",
180182 "path": "/",
181183 "portIndex": 0,
182184 "protocol": "HTTP",
183- "timeoutSeconds": 20
185+ "timeoutSeconds": 20,
186+ "delaySeconds": 15
184187 }
185188 ],
186189 "id": "/fake-app-broken",
324327 "path": "/health",
325328 "portIndex": 0,
326329 "protocol": "HTTP",
327- "timeoutSeconds": 10
330+ "timeoutSeconds": 10,
331+ "delaySeconds": 15
328332 }
329333 ],
330334 "id": "/fake-app",
440444 "path": "/health",
441445 "portIndex": 0,
442446 "protocol": "HTTP",
443- "timeoutSeconds": 10
447+ "timeoutSeconds": 10,
448+ "delaySeconds": 15
444449 }
445450 ],
446451 "id": "/fake-app",
569574 "path": "/health",
570575 "portIndex": 0,
571576 "protocol": "HTTP",
572- "timeoutSeconds": 10
577+ "timeoutSeconds": 10,
578+ "delaySeconds": 15
573579 }
574580 ],
575581 "id": "/fake-app-broken",
793799 "intervalSeconds": 10,
794800 "portIndex": 0,
795801 "timeoutSeconds": 10,
796- "maxConsecutiveFailures": 3
802+ "maxConsecutiveFailures": 3,
803+ "delaySeconds": 15
797804 }
798805 ],
799806 "id": "apache",
830837 "gracePeriodSeconds": 10,
831838 "intervalSeconds": 10,
832839 "timeoutSeconds": 5,
833- "maxConsecutiveFailures": 2
840+ "maxConsecutiveFailures": 2,
841+ "delaySeconds": 15
834842 }
835843 ],
836844 "id": "mysql",
867875 "gracePeriodSeconds": 10,
868876 "intervalSeconds": 10,
869877 "timeoutSeconds": 5,
870- "maxConsecutiveFailures": 2
878+ "maxConsecutiveFailures": 2,
879+ "delaySeconds": 15
871880 }
872881 ],
873882 "id": "caching",
12271236 "path": "/",
12281237 "portIndex": 0,
12291238 "protocol": "HTTP",
1230- "timeoutSeconds": 20
1239+ "timeoutSeconds": 20,
1240+ "delaySeconds": 15
12311241 }
12321242 ],
12331243 "id": "/fake-app",
12901300 "path": "/",
12911301 "portIndex": 0,
12921302 "protocol": "HTTP",
1293- "timeoutSeconds": 20
1303+ "timeoutSeconds": 20,
1304+ "delaySeconds": 15
12941305 }
12951306 ],
12961307 "id": "/fake-app-broken",
13271338 "path": "/health",
13281339 "portIndex": 0,
13291340 "protocol": "HTTP",
1330- "timeoutSeconds": 10
1341+ "timeoutSeconds": 10,
1342+ "delaySeconds": 15
13311343 }
13321344 ],
13331345 "id": "/no-health-check-results-app",
You can’t perform that action at this time.
0 commit comments