Skip to content

Commit 18705e7

Browse files
committed
Update
1 parent bfd3708 commit 18705e7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
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

Comments
 (0)