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
StalePersistentVolumeClaim triggers for any ephemeral volume most likely due to the fact that ephemeral volumes do not have a matching claimName in the pod but rather the volume template itself.
This also manifests in the fact that "Used by" is empty for any emphemeral volume in eg .kubectl describe pvc
All this leads to kube_pod_spec_volumes_persistentvolumeclaims_info missing which then triggers the alert.
No idea where is the right place to fix this yet tbh.
The text was updated successfully, but these errors were encountered:
Hi @Quarky9 , This rule was mainly deployed to make sure to notify user on any pvc that is not claimed by Pod. I guess ephemeral volume doesnt create pvc object. Correct me if im wrong.
The generic Ephemeral Volumes create PVCs. Difference is they have an ownerReference set which causes them to be deleted once the owner, normally the pod gets deleted.
Recent changes in kubectl though now fill in the UsedBy ( at least since 1.29 ) for kubectl describe pvc calls.
The kube_pod_spec_volumes_persistentvolumeclaims_info is still missing for any ephemeral PVC in 1.29
StalePersistentVolumeClaim triggers for any ephemeral volume most likely due to the fact that ephemeral volumes do not have a matching claimName in the pod but rather the volume template itself.
This also manifests in the fact that "Used by" is empty for any emphemeral volume in eg .
kubectl describe pvc
All this leads to
kube_pod_spec_volumes_persistentvolumeclaims_info
missing which then triggers the alert.No idea where is the right place to fix this yet tbh.
The text was updated successfully, but these errors were encountered: