Kubernetes-Volume-Autoscaler icon indicating copy to clipboard operation
Kubernetes-Volume-Autoscaler copied to clipboard

Customer-reported issue: Is not detecting updated/resized max size

Open AndrewFarley opened this issue 2 years ago • 0 comments

There appears to be a bug in Prometheus Server which causes the kubelet_volume_stats_capacity_bytes to not be updated properly in Prometheus after a resize. Note: May need to go file a bug against the metrics-server or Prometheus.

After further investigation, it appears the prometheus metrics of kube_persistentvolume_capacity_bytes which is tied to the "PV" and not the "PVC" is fully updated, and we could (in theory) instead look there for the updated value but I believe this to be a bug which should be fixed in Prometheus.

Screen Shot 2022-03-07 at 10 00 37 AM

AndrewFarley avatar Mar 06 '22 20:03 AndrewFarley