Skip to content

Commit 1f1a6a4

Browse files
guardian: probe paths follow shared health aggregator (tigera#4795)
Companion to calico-private: voltronguardian moved off its bespoke /health stub to the shared health aggregator, which serves /liveness and /readiness instead. Update the deployment probes to match.
1 parent 7de721d commit 1f1a6a4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/render/guardian.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ func (c *GuardianComponent) container() []corev1.Container {
503503
LivenessProbe: &corev1.Probe{
504504
ProbeHandler: corev1.ProbeHandler{
505505
HTTPGet: &corev1.HTTPGetAction{
506-
Path: "/health",
506+
Path: "/liveness",
507507
Port: intstr.FromInt(9080),
508508
},
509509
},
@@ -512,7 +512,7 @@ func (c *GuardianComponent) container() []corev1.Container {
512512
ReadinessProbe: &corev1.Probe{
513513
ProbeHandler: corev1.ProbeHandler{
514514
HTTPGet: &corev1.HTTPGetAction{
515-
Path: "/health",
515+
Path: "/readiness",
516516
Port: intstr.FromInt(9080),
517517
},
518518
},

0 commit comments

Comments
 (0)