Closed dyrnq closed 2 years ago
kubectl describe persistentvolumeclaim alertmanager-release-kube-prometheus-st-alertmanager-db-alertmanager-release-kube-prometheus-st-alertmanager-0 -n monitoring
Name: alertmanager-release-kube-prometheus-st-alertmanager-db-alertmanager-release-kube-prometheus-st-alertmanager-0
Namespace: monitoring
StorageClass: nfs-client
Status: Pending
Volume:
Labels: alertmanager=release-kube-prometheus-st-alertmanager
app.kubernetes.io/instance=release-kube-prometheus-st-alertmanager
app.kubernetes.io/managed-by=prometheus-operator
app.kubernetes.io/name=alertmanager
Annotations: volume.beta.kubernetes.io/storage-provisioner: cluster.local/my-release-nfs-subdir-external-provisioner
volume.kubernetes.io/storage-provisioner: cluster.local/my-release-nfs-subdir-external-provisioner
Finalizers: [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode: Filesystem
Used By: alertmanager-release-kube-prometheus-st-alertmanager-0
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal ExternalProvisioning 21s (x463 over 115m) persistentvolume-controller waiting for a volume to be created, either by external provisioner "cluster.local/my-release-nfs-subdir-external-provisioner" or manually created by system administrator
Normal Provisioning 21s (x13 over 115m) cluster.local/my-release-nfs-subdir-external-provisioner_my-release-nfs-subdir-external-provisioner-79887c6d67-6vscw_f58db5e6-7535-4051-9235-30e3f3dbb3fd External provisioner is provisioning volume for claim "monitoring/alertmanager-release-kube-prometheus-st-alertmanager-db-alertmanager-release-kube-prometheus-st-alertmanager-0"
Warning ProvisioningFailed 21s (x13 over 115m) cluster.local/my-release-nfs-subdir-external-provisioner_my-release-nfs-subdir-external-provisioner-79887c6d67-6vscw_f58db5e6-7535-4051-9235-30e3f3dbb3fd failed to provision volume with StorageClass "nfs-client": claim Selector is not supported
remove selector: {}