Skip to content

Commit

Permalink
refactor: if a pod gets restart and deployed on a new node the volume…
Browse files Browse the repository at this point in the history
… might still be attached to the old node when the init container runs thus resulting in the following error: Multi-Attach error for volume "pvc-f37105b4-60fc-46a3-8155-c2c11ee789b4" Volume is already used by pod(s) test-storage-03-core-dc97fdd-ldkvt
  • Loading branch information
tonsV2 committed Apr 4, 2024
1 parent 59704ec commit b1d4d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/core/templates/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
{{- include "dhis2-core-helm.labels" . | nindent 4 }}
spec:
accessModes:
- ReadWriteOnce
- ReadWriteMany
resources:
requests:
storage: {{ .Values.storage.volumeSize }}
Expand Down

0 comments on commit b1d4d87

Please sign in to comment.