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
PVC remains in Pending state when deploying MongoDB with Percona Server for MongoDB Operator it does not automatically set the default storageClassName
#1575
Open
AshishThakur10 opened this issue
Jun 18, 2024
· 1 comment
I am experiencing an issue where the Persistent Volume Claim (PVC) remains in the Pending state when deploying MongoDB using the Percona Server for MongoDB Operator. The PVC does not automatically get bound to a Persistent Volume (PV), despite having a default storage class configured in the Kubernetes cluster.
Steps to Reproduce
Deploy MongoDB using the Percona Server for MongoDB Operator with the following configuration:
I would appreciate any guidance on how to resolve this issue and ensure the PVC gets bound automatically without needing to specify the storage class explicitly.
Thank you!
More about the problem
PCV
Versions
Kubernetes: v1.22.0
Operator: Percona Server for MongoDB Operator 1.15.0
Database: Percona Server for MongoDB 4.4.6-8
Client Version: v1.30.1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.26.11
The text was updated successfully, but these errors were encountered:
AshishThakur10
changed the title
PVC remains in Pending state when deploying MongoDB with Percona Server for MongoDB Operator it does not automatically set the default storageclassName
PVC remains in Pending state when deploying MongoDB with Percona Server for MongoDB Operator it does not automatically set the default storageClassName
Jun 18, 2024
@AshishThakur10 did you set this option storageClassName: ""? If you do not want to specify it at all, you should not set it and in this case it will use the default SC
Report
Hello,
I am experiencing an issue where the Persistent Volume Claim (PVC) remains in the
Pending
state when deploying MongoDB using the Percona Server for MongoDB Operator. The PVC does not automatically get bound to a Persistent Volume (PV), despite having a default storage class configured in the Kubernetes cluster.Steps to Reproduce
Expected Results
The PVC should be bound to a PV and not remain in the
Pending
state.Actual Results
The PVC remains in the
Pending
state and is not bound to any PV. Here are the details of the PVC:Additional Information
Workaround
As a temporary workaround, I manually specified the storage class in the PVC definition, which allowed it to get bound:
I would appreciate any guidance on how to resolve this issue and ensure the PVC gets bound automatically without needing to specify the storage class explicitly.
Thank you!
More about the problem
PCV
Versions
Kubernetes: v1.22.0
Operator: Percona Server for MongoDB Operator 1.15.0
Database: Percona Server for MongoDB 4.4.6-8
Client Version: v1.30.1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.26.11
The text was updated successfully, but these errors were encountered: