diff --git a/deploy/40-statefulset.yaml b/deploy/40-statefulset.yaml index ab98204..a58773f 100644 --- a/deploy/40-statefulset.yaml +++ b/deploy/40-statefulset.yaml @@ -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