topolvm / pvc-autoresizer

Auto-resize PersistentVolumeClaim objects based on Prometheus metrics
Apache License 2.0
251 stars 29 forks source link

add support for K8s metrics API as a source of PVC usage data #241

Closed tropnikovvl closed 9 months ago

tropnikovvl commented 9 months ago

Hello!

I was previously interested in the possibility of using a pvc-autoresizer without Prometheus and was given the answer that there had already been an attempt to do this.

I'm restarting this effort because I think it's important for users and I tried to take into account all your comments.

llamerada-jp commented 9 months ago

Commits merged before are mixed in this PR. Could you please clean this up by using rebase or otherwise?

tropnikovvl commented 9 months ago

Commits merged before are mixed in this PR. Could you please clean this up by using rebase or otherwise?

Done

ushitora-anqou commented 9 months ago

Hi. Could you combine your commits into one? Currently, your PR has two separate commits (see here).

Also, please only include a description of your changes in the commit message. It currently contains irrelevant messages (see here).

tropnikovvl commented 9 months ago

I'm sorry, but I accidentally destroyed all my work with a rebase.

New PR - https://github.com/topolvm/pvc-autoresizer/pull/242