Skip to content

Commit bbc6b29

Browse files
committed
Add healthcheck and switch to latest
Signed-off-by: Markus Blaschke <[email protected]>
1 parent 2c2878b commit bbc6b29

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

deployment/deployment.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
serviceAccountName: azure-k8s-autopilot
2424
containers:
2525
- name: azure-k8s-autopilot
26-
image: webdevops/azure-k8s-autopilot:development
26+
image: webdevops/azure-k8s-autopilot:latest
2727
imagePullPolicy: Always
2828
env:
2929
# General settings
@@ -92,4 +92,14 @@ spec:
9292
memory: 200Mi
9393
requests:
9494
cpu: 10m
95-
95+
livenessProbe: &probe
96+
httpGet:
97+
path: /metrics
98+
port: 8080
99+
periodSeconds: 15
100+
initialDelaySeconds: 10
101+
readinessProbe:
102+
<<: *probe
103+
initialDelaySeconds: 2
104+
periodSeconds: 5
105+
failureThreshold: 30

0 commit comments

Comments
 (0)