-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When mounting two PVCs from EFS into a single deployment, Kubernetes pods get stuck in the 'ContainerCreating' state with 0/1 #1360
Comments
Hi @jorgenivia, I am able to mount two volumes successfully
Can you share me the PVC configuration file and also details of your setup(installation and deployment steps) |
I am sharing the configuration of the storage class, the PVs, and the PVCs, as well as the pod. |
I am sharing the configuration of the storage class, the PVs, and the PVCs, as well as the pod. storage class
pv - pvc -pod
|
In Dynamic Provisioning Once you create the PVC, the Kubernetes API server interacts with the EFS CSI Driver based on the configured StorageClass. The EFS CSI Driver dynamically provisions a PersistentVolume (PV) on your behalf, you dont need to specify PV separately as above. Refer my yaml example below.
|
/kind bug
What happened?
When configuring two EFS PVCs in a deployment, it gets stuck in the 'ContainerCreating' state with 0/1. However, when configuring only one EFS PVC in the deployment, the pod starts correctly.
What you expected to happen?
When mounting two or more EFS PVCs in a single deployment, the pod will start correctly.
How to reproduce it (as minimally and precisely as possible)?
Associate two EFS volumes with a pod and deploy to demonstrate the error.
Anything else we need to know?:
When executing the command 'kubectl describe pod', we only see an event: 'Successfully assigned namespace/xxx-xxx-x to ip-xxx-xx-xx-x.us-xxx-x.compute.internal'.
Environment
kubectl version
): v1.29.2The text was updated successfully, but these errors were encountered: