Skip to content

Commit 671676f

Browse files
committed
fix: disable temporary the liveness and readiness probes
1 parent 446f10c commit 671676f

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

pkg/proxy/proxy.go

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -172,32 +172,32 @@ func proxyContainer(sso *apiv1.SSO) v1.Container {
172172
ReadOnly: true,
173173
MountPath: filepath.Dir(configPath),
174174
}},
175-
LivenessProbe: &v1.Probe{
176-
Handler: v1.Handler{
177-
HTTPGet: &v1.HTTPGetAction{
178-
Path: healthPath,
179-
Port: intstr.FromInt(port),
180-
Scheme: v1.URISchemeHTTP,
181-
},
182-
},
183-
InitialDelaySeconds: 30,
184-
TimeoutSeconds: 10,
185-
PeriodSeconds: 60,
186-
FailureThreshold: 3,
187-
},
188-
ReadinessProbe: &v1.Probe{
189-
Handler: v1.Handler{
190-
HTTPGet: &v1.HTTPGetAction{
191-
Path: healthPath,
192-
Port: intstr.FromInt(port),
193-
Scheme: v1.URISchemeHTTP,
194-
},
195-
},
196-
InitialDelaySeconds: 10,
197-
TimeoutSeconds: 10,
198-
PeriodSeconds: 10,
199-
FailureThreshold: 3,
200-
},
175+
// LivenessProbe: &v1.Probe{
176+
// Handler: v1.Handler{
177+
// HTTPGet: &v1.HTTPGetAction{
178+
// Path: healthPath,
179+
// Port: intstr.FromInt(port),
180+
// Scheme: v1.URISchemeHTTP,
181+
// },
182+
// },
183+
// InitialDelaySeconds: 30,
184+
// TimeoutSeconds: 10,
185+
// PeriodSeconds: 60,
186+
// FailureThreshold: 3,
187+
// },
188+
// ReadinessProbe: &v1.Probe{
189+
// Handler: v1.Handler{
190+
// HTTPGet: &v1.HTTPGetAction{
191+
// Path: healthPath,
192+
// Port: intstr.FromInt(port),
193+
// Scheme: v1.URISchemeHTTP,
194+
// },
195+
// },
196+
// InitialDelaySeconds: 10,
197+
// TimeoutSeconds: 10,
198+
// PeriodSeconds: 10,
199+
// FailureThreshold: 3,
200+
// },
201201
}
202202
}
203203

0 commit comments

Comments
 (0)