diff --git a/manifests/base/workflow-controller/workflow-controller-deployment.yaml b/manifests/base/workflow-controller/workflow-controller-deployment.yaml index dd3526a6661f..d45808ab7024 100644 --- a/manifests/base/workflow-controller/workflow-controller-deployment.yaml +++ b/manifests/base/workflow-controller/workflow-controller-deployment.yaml @@ -35,10 +35,15 @@ spec: ports: - name: metrics containerPort: 9090 - - containerPort: 6060 + - name: healthz + containerPort: 6060 + readinessProbe: + httpGet: + port: metrics + path: /metrics livenessProbe: httpGet: - port: 6060 + port: healthz path: /healthz # Require three failures to tolerate transient errors. failureThreshold: 3 diff --git a/manifests/install.yaml b/manifests/install.yaml index 2e98ba700665..69946fde26a2 100644 --- a/manifests/install.yaml +++ b/manifests/install.yaml @@ -1120,7 +1120,7 @@ spec: failureThreshold: 3 httpGet: path: /healthz - port: 6060 + port: healthz initialDelaySeconds: 90 periodSeconds: 60 timeoutSeconds: 30 @@ -1129,6 +1129,11 @@ spec: - containerPort: 9090 name: metrics - containerPort: 6060 + name: healthz + readinessProbe: + httpGet: + path: /metrics + port: metrics securityContext: allowPrivilegeEscalation: false capabilities: diff --git a/manifests/namespace-install.yaml b/manifests/namespace-install.yaml index bdfc30837313..db0f4fc2db4d 100644 --- a/manifests/namespace-install.yaml +++ b/manifests/namespace-install.yaml @@ -1010,7 +1010,7 @@ spec: failureThreshold: 3 httpGet: path: /healthz - port: 6060 + port: healthz initialDelaySeconds: 90 periodSeconds: 60 timeoutSeconds: 30 @@ -1019,6 +1019,11 @@ spec: - containerPort: 9090 name: metrics - containerPort: 6060 + name: healthz + readinessProbe: + httpGet: + path: /metrics + port: metrics securityContext: allowPrivilegeEscalation: false capabilities: diff --git a/manifests/quick-start-minimal.yaml b/manifests/quick-start-minimal.yaml index 10abc9f97017..aeba116d6e50 100644 --- a/manifests/quick-start-minimal.yaml +++ b/manifests/quick-start-minimal.yaml @@ -1431,7 +1431,7 @@ spec: failureThreshold: 3 httpGet: path: /healthz - port: 6060 + port: healthz initialDelaySeconds: 90 periodSeconds: 60 timeoutSeconds: 30 @@ -1440,6 +1440,11 @@ spec: - containerPort: 9090 name: metrics - containerPort: 6060 + name: healthz + readinessProbe: + httpGet: + path: /metrics + port: metrics securityContext: allowPrivilegeEscalation: false capabilities: diff --git a/manifests/quick-start-mysql.yaml b/manifests/quick-start-mysql.yaml index 76aedac03111..ee4e5c02717d 100644 --- a/manifests/quick-start-mysql.yaml +++ b/manifests/quick-start-mysql.yaml @@ -1520,7 +1520,7 @@ spec: failureThreshold: 3 httpGet: path: /healthz - port: 6060 + port: healthz initialDelaySeconds: 90 periodSeconds: 60 timeoutSeconds: 30 @@ -1529,6 +1529,11 @@ spec: - containerPort: 9090 name: metrics - containerPort: 6060 + name: healthz + readinessProbe: + httpGet: + path: /metrics + port: metrics securityContext: allowPrivilegeEscalation: false capabilities: diff --git a/manifests/quick-start-postgres.yaml b/manifests/quick-start-postgres.yaml index aeb0fe509ca3..2649523840f8 100644 --- a/manifests/quick-start-postgres.yaml +++ b/manifests/quick-start-postgres.yaml @@ -1512,7 +1512,7 @@ spec: failureThreshold: 3 httpGet: path: /healthz - port: 6060 + port: healthz initialDelaySeconds: 90 periodSeconds: 60 timeoutSeconds: 30 @@ -1521,6 +1521,11 @@ spec: - containerPort: 9090 name: metrics - containerPort: 6060 + name: healthz + readinessProbe: + httpGet: + path: /metrics + port: metrics securityContext: allowPrivilegeEscalation: false capabilities: