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