Troubleshooting
My secret-consuming Pods get stuck Pending!
-
Does the
Podhave any events relating to scheduling? (kubectl describe pod/$POD_NAME) -
Is the
PersistentVolumeClaimbeing created? It should have the name$POD_NAME-$VOLUME_NAME. -
Is the
PersistentVolumeClaimbound to aPersistentVolume? If not:-
Does the
PersistentVolumeClaimhave any relevant events? (kubectl describe pvc/$PVC_NAME) -
If the
PersistentVolumeClaimhas no relevant events (or only an event that it is waiting for a volume to be provisioned), check the logs of the secret-operator sidecar container namedexternal-provisioner. -
Does the
PersistentVolumeClaimhave aStorageClassset? -
Is the
StorageClassconfigured to use the provisioner namedsecrets.stackable.tech?
-
-
Does the
PersistentVolumehave any relevant events? (kubectl describe pv/$PV_NAME) -
Is the
CSIDriverobject namedsecrets.stackable.techconfigured correctly? -
Is the CSI driver registered on the relevant
CSINodeobjects? (kubectl get csinode/$NODE_NAME -o yamlshould contain the driversecrets.stackable.tech) -
Does the secret-operator sidecar container named
node-driver-registrarhave any relevant log entries? -
Does the kubelet have any relevant log entries?