Skip to content

feat: Add PVC autoresizer manage function

Created by: weili520

Signed-off-by: TheYoungManLi cjl@kubesphere.io

What type of PR is this?

/kind feature

What this PR does / why we need it:

Which issue(s) this PR fixes:

  • Part of job of ##4137
  • Add PVC autoresizer manage function

Special notes for reviewers:

  • PVC autoresizer manage function

截屏2022-04-07 17 43 30

  • pvc autoresizer info panel

截屏2022-04-07 17 45 37

https://user-images.githubusercontent.com/33231138/162172917-ab9cf168-e33a-4f4c-825c-b8d9a6e0cd73.mov

Does this PR introduced a user-facing change?

Add PVC autoresizer manage function

Additional documentation, usage docs, etc.:

If the params's input is empty, it will use the default value as follows:

resize.kubesphere.io/enabled: 'true'
resize.kubesphere.io/increase: 10Gi
resize.kubesphere.io/storage-limit: 100Gi
resize.kubesphere.io/threshold: 10%
restart.kubesphere.io/enabled: 'true'
restart.kubesphere.io/max-time: '300' 

合并请求报告

加载中