You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You: Why is my deployment storage-issue in project demo-app only one of two pods running?
2
+
3
+
OpenShift Lightspeed: The issue lies with the second pod (`storage-issue-5cb4d5d794-qph6w`) being stuck in `ContainerCreating` state. This is likely due to the `PersistentVolumeClaim` (`storage-issue`) being configured with `ReadWriteOnce` access mode, which restricts the volume to be mounted by only one pod at a time.
4
+
5
+
### Resolution:
6
+
1.**Change Access Mode**: Update the PVC to use `ReadWriteMany` if your storage backend supports it.
7
+
2.**Separate PVCs**: Create individual PVCs for each pod if `ReadWriteMany` is not supported.
8
+
3.**Verify Storage Backend**: Ensure the storage class (`coe-netapp-san`) supports the required access mode.
9
+
10
+
Let me know if you need guidance on implementing these changes.
0 commit comments