Kubernetes-Volume-Autoscaler
Kubernetes-Volume-Autoscaler copied to clipboard
Customer-reported issue: Is not detecting updated/resized max size
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.
