Skip to content

Commit

Permalink
Add comments about default probes
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-hontarau committed Mar 29, 2024
1 parent 73d7ccc commit 2952d91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/v1alpha1/etcdcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,17 @@ type PodSpec struct {
ExtraEnv []corev1.EnvVar `json:"extraEnv,omitempty"`

// LivenessProbe defines liveness probe check for the pod.
// If not specified, default probe will be used.
// +optional
LivenessProbe *corev1.Probe `json:"livenessProbe,omitempty"`

// ReadinessProbe defines readiness probe check for the pod.
// If not specified, default probe will be used.
// +optional
ReadinessProbe *corev1.Probe `json:"readinessProbe,omitempty"`

// StartupProbe defines startup probe check for the pod.
// If not specified, default probe will be used.
// +optional
StartupProbe *corev1.Probe `json:"startupProbe,omitempty"`
}
Expand Down

0 comments on commit 2952d91

Please sign in to comment.