diff --git a/config/internal/instascale/deployment.yaml.tmpl b/config/internal/instascale/deployment.yaml.tmpl index 4c704c80..fe21ade6 100644 --- a/config/internal/instascale/deployment.yaml.tmpl +++ b/config/internal/instascale/deployment.yaml.tmpl @@ -21,4 +21,15 @@ spec: image: {{.ControllerImage}} name: instascale resources: {{.ControllerResources}} + livenessProbe: + httpGet: + path: /healthz + port: 8081 + periodSeconds: 5 + timeoutSeconds: 5 + readinessProbe: + httpGet: + path: /readyz + port: 8081 + periodSeconds: 10 serviceAccountName: instascale-{{.Name}}-sa