File tree Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -109,18 +109,6 @@ fi`},
109109 if err != nil {
110110 log .Error (err , "failed to find controller listener port" )
111111 } else {
112- kafkaContainer .LivenessProbe = & corev1.Probe {
113- ProbeHandler : corev1.ProbeHandler {
114- Exec : & corev1.ExecAction {
115- Command : []string {"/bin/bash" , "-c" , assets .KraftControllerHealthcheckSh },
116- },
117- },
118- InitialDelaySeconds : 30 ,
119- PeriodSeconds : 10 ,
120- TimeoutSeconds : 5 ,
121- FailureThreshold : 6 ,
122- }
123-
124112 kafkaContainer .ReadinessProbe = & corev1.Probe {
125113 ProbeHandler : corev1.ProbeHandler {
126114 TCPSocket : & corev1.TCPSocketAction {
@@ -130,12 +118,23 @@ fi`},
130118 },
131119 },
132120 },
133- InitialDelaySeconds : 15 ,
134- PeriodSeconds : 10 ,
121+ InitialDelaySeconds : 0 ,
122+ PeriodSeconds : 5 ,
135123 TimeoutSeconds : 5 ,
136124 FailureThreshold : 20 ,
137125 }
138126 }
127+ kafkaContainer .LivenessProbe = & corev1.Probe {
128+ ProbeHandler : corev1.ProbeHandler {
129+ Exec : & corev1.ExecAction {
130+ Command : []string {"/bin/bash" , "-c" , assets .KraftControllerHealthcheckSh },
131+ },
132+ },
133+ InitialDelaySeconds : 30 ,
134+ PeriodSeconds : 10 ,
135+ TimeoutSeconds : 5 ,
136+ FailureThreshold : 6 ,
137+ }
139138 }
140139
141140 pod := & corev1.Pod {
You can’t perform that action at this time.
0 commit comments