Last active
August 29, 2015 14:14
-
-
Save mikedanese/a29cd0272df2aa5ebea7 to your computer and use it in GitHub Desktop.
Probe API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Probe struct { | |
HTTPGet *HTTPGetAction `json:"httpGet,omitempty"` | |
TCPSocket *TCPSocketAction `json:"tcpSocket,omitempty"` | |
Exec *ExecAction `json:"exec,omitempty"` | |
} | |
type LivenessProbe struct { | |
Probe `json:",inline"` | |
InitialDelaySeconds int64 `json:"initialDelaySeconds,omitempty"` | |
} | |
type ReadinessProbe struct { | |
Probe `json:",inline"` | |
TimeoutSeconds int64 `json:"timeoutSeconds,omitempty"` | |
FrequencySeconds int64 `json:"frequencySeconds,omitempty"` | |
UnhealthyThreshold int64 `json:"unhealthyThreshold,omitempty"` | |
HealthyThreshold int64 `json:"healthyThreshold,omitempty"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment