Statefulset deploy - always pull image
This commit is contained in:
parent
2f28459f9a
commit
e834c109d5
@ -33,6 +33,7 @@ spec:
|
||||
# Make sure the p5x-system-data disk exists in PVE and is mounted
|
||||
- name: ensure-system-disk
|
||||
image: docker.io/glmdev/p5x-api:latest
|
||||
imagePullPolicy: Always
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: api-env
|
||||
@ -48,6 +49,7 @@ spec:
|
||||
# Transfer the p5x-system-data PVE disk to the correct node, if necessary
|
||||
- name: migrate-system-disk
|
||||
image: docker.io/glmdev/p5x-api:latest
|
||||
imagePullPolicy: Always
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: api-env
|
||||
@ -63,6 +65,7 @@ spec:
|
||||
containers:
|
||||
- name: api-server
|
||||
image: docker.io/glmdev/p5x-api:latest
|
||||
imagePullPolicy: Always
|
||||
# TODO: (1) add a dedicated /healthz endpoint and (2) prevent that endpoint from writing to the Rocket logs
|
||||
# livenessProbe:
|
||||
# failureThreshold: 5
|
||||
|
Loading…
Reference in New Issue
Block a user