Support tcp/http liveness/readiness probe (#1449)

This commit is contained in:
ichx authored and GitHub committed 2021-11-03 23:30:38 +08:00
1 parent ce46a5ba01
commit d55071e9d6
14 files changed
+1529 -221

No files matched your search

+2 -1
View File
@@ -165,7 +165,7 @@ type HealthChecks struct {
}
// HealthCheck the healthcheck configuration for a service
// "StartPeriod" is not yet added to compose, see:
// "StartPeriod" was added to v3.4 of the compose, see:
// https://github.com/docker/cli/issues/116
type HealthCheck struct {
Test []string
@@ -176,6 +176,7 @@ type HealthCheck struct {
Disable bool
HTTPPath string
HTTPPort int32
TCPPort int32
}
// EnvVar holds the environment variable struct of a container