From c6461aca7653626749e6c205ea75d26f74f3458d Mon Sep 17 00:00:00 2001 From: Youssuf Elshall Date: Mon, 10 Aug 2026 19:27:05 -0400 Subject: [PATCH] atecontroller: serve health probes --- cmd/atecontroller/main.go | 3 ++- manifests/ate-install/ate-controller.yaml | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/cmd/atecontroller/main.go b/cmd/atecontroller/main.go index 9d3a1b886..24c508bc3 100644 --- a/cmd/atecontroller/main.go +++ b/cmd/atecontroller/main.go @@ -144,7 +144,8 @@ func main() { ateapiClient := ateapipb.NewControlClient(ateapiConn) mgr, err := ctrl.NewManager(k8sConfig, ctrl.Options{ - Scheme: scheme, + Scheme: scheme, + HealthProbeBindAddress: ":8081", }) if err != nil { setupLog.Error(err, "unable to start manager") diff --git a/manifests/ate-install/ate-controller.yaml b/manifests/ate-install/ate-controller.yaml index 9220cb8d2..aaba3f0e0 100644 --- a/manifests/ate-install/ate-controller.yaml +++ b/manifests/ate-install/ate-controller.yaml @@ -133,6 +133,19 @@ spec: - name: healthz containerPort: 8081 protocol: TCP + readinessProbe: + httpGet: + path: /readyz + port: healthz + initialDelaySeconds: 5 + periodSeconds: 2 + failureThreshold: 3 + livenessProbe: + httpGet: + path: /healthz + port: healthz + initialDelaySeconds: 10 + periodSeconds: 10 volumeMounts: # Controller's own client identity presented to ateapi. - name: "podidentity"