Add support for more readiness args
This commit is contained in:
james song
2021-05-19 23:52:33 +08:00
committed by GitHub
parent 771ecbf471
commit 0b331d9e5d
6 changed files with 112 additions and 4 deletions
+4
View File
@@ -56,6 +56,10 @@ const (
HealthCheckReadinessRetries = "kompose.service.healthcheck.readiness.retries"
// HealthCheckReadinessStartPeriod defines readiness health check start period
HealthCheckReadinessStartPeriod = "kompose.service.healthcheck.readiness.start_period"
// HealthCheckLivenessHTTPGetPath defines liveness health check HttpGet path
HealthCheckLivenessHTTPGetPath = "kompose.service.healthcheck.liveness.http_get_path"
// HealthCheckLivenessHTTPGetPort defines liveness health check HttpGet port
HealthCheckLivenessHTTPGetPort = "kompose.service.healthcheck.liveness.http_get_port"
// ServiceTypeHeadless ...
ServiceTypeHeadless = "Headless"