mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Remove LivenessProbe.Type in v1beta3
This commit is contained in:
parent
9b40c52c24
commit
1f442d4429
@ -291,8 +291,6 @@ type ExecAction struct {
|
|||||||
// LivenessProbe describes how to probe a container for liveness.
|
// LivenessProbe describes how to probe a container for liveness.
|
||||||
// TODO: pass structured data to the actions, and document that data here.
|
// TODO: pass structured data to the actions, and document that data here.
|
||||||
type LivenessProbe struct {
|
type LivenessProbe struct {
|
||||||
// Type of liveness probe. Current legal values "HTTP", "TCP", "Exec"
|
|
||||||
Type string `json:"type,omitempty"`
|
|
||||||
// HTTPGetProbe parameters, required if Type == 'HTTP'
|
// HTTPGetProbe parameters, required if Type == 'HTTP'
|
||||||
HTTPGet *HTTPGetAction `json:"httpGet,omitempty"`
|
HTTPGet *HTTPGetAction `json:"httpGet,omitempty"`
|
||||||
// TCPSocketProbe parameter, required if Type == 'TCP'
|
// TCPSocketProbe parameter, required if Type == 'TCP'
|
||||||
|
Loading…
Reference in New Issue
Block a user