From acd264a55cc4589e84d99122e274501e0265ddd5 Mon Sep 17 00:00:00 2001 From: hontarau Date: Tue, 2 Apr 2024 14:36:04 +0200 Subject: [PATCH] Add probes comments with default values --- api/v1alpha1/etcdcluster_types.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/api/v1alpha1/etcdcluster_types.go b/api/v1alpha1/etcdcluster_types.go index 390cb163..517e382c 100644 --- a/api/v1alpha1/etcdcluster_types.go +++ b/api/v1alpha1/etcdcluster_types.go @@ -166,17 +166,20 @@ 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. + // If not specified, default probe will be used with HTTP probe handler and path /livez on the port 2379, + // with initialDelaySeconds 5 and periodSeconds 5. // +optional LivenessProbe *corev1.Probe `json:"livenessProbe,omitempty"` // ReadinessProbe defines readiness probe check for the pod. - // If not specified, default probe will be used. + // If not specified, default probe will be used with HTTP probe handler and path /readyz on the port 2379, + // with initialDelaySeconds 5 and periodSeconds 5. // +optional ReadinessProbe *corev1.Probe `json:"readinessProbe,omitempty"` // StartupProbe defines startup probe check for the pod. - // If not specified, default probe will be used. + // If not specified, default probe will be used with HTTP probe handler and path /readyz?serializable=false on the port 2379, + // with periodSeconds 5. // +optional StartupProbe *corev1.Probe `json:"startupProbe,omitempty"` }