OS Manuals

/usr/bin/pvc-autoresizer

Auto-resize PersistentVolumeClaim objects based on Prometheus metrics

From pvc-autoresizer-fips 0.22.0-r0 (enterprise-packages), captured 2026-11-08 by running pvc-autoresizer --help (exit 0). permalink

pvc-autoresizer is an automatic volume resizer that edits PVCs if they have less than the specified amount of free filesystem capacity.

Usage:
  pvc-autoresizer [flags]

Flags:
      --cert-dir string                     webhook certificate directory (default "/certs")
      --development                         Use development logger config
      --health-addr string                  The address of health/readiness probes. (default ":8081")
  -h, --help                                help for pvc-autoresizer
      --interval duration                   Interval to monitor pvc capacity. (default 1m0s)
      --metrics-addr string                 The address the metric endpoint binds to. (default ":8080")
      --metrics-reset-size-threshold uint   Reset metrics when their encoded size exceeds this threshold in bytes. Set 0 to disable. (default 0)
      --namespaces strings                  Namespaces to resize PersistentVolumeClaims within. Empty for all namespaces.
      --no-annotation-check                 Skip annotation check for StorageClass
      --prometheus-url string               Prometheus URL to query volume stats.
      --pvc-mutating-webhook-enabled        Enable the pvc mutating webhook endpoint (default true)
      --use-k8s-metrics-api                 Use Kubernetes metrics API instead of Prometheus
      --webhook-addr string                 Listen address for the webhook endpoint (default ":9443")
      --zap-devel                           Development Mode defaults(encoder=consoleEncoder,logLevel=Debug,stackTraceLevel=Warn). Production Mode defaults(encoder=jsonEncoder,logLevel=Info,stackTraceLevel=Error)
      --zap-encoder encoder                 Zap log encoding (one of 'json' or 'console')
      --zap-log-level level                 Zap Level to configure the verbosity of logging. Can be one of 'debug', 'info', 'error', 'panic' or any integer value > 0 which corresponds to custom debug levels of increasing verbosity
      --zap-stacktrace-level level          Zap Level at and above which stacktraces are captured (one of 'info', 'error', 'panic').
      --zap-time-encoding time-encoding     Zap time encoding (one of 'epoch', 'millis', 'nano', 'iso8601', 'rfc3339' or 'rfc3339nano'). Defaults to 'epoch'.
Options (18)
OptionDescriptionSource
--cert-dir stringwebhook certificate directory (default "/certs")help
--developmentUse development logger confighelp
--health-addr stringThe address of health/readiness probes.help
-h, --helphelp for pvc-autoresizerhelp
--interval durationInterval to monitor pvc capacity.help
--metrics-addr stringThe address the metric endpoint binds to.help
--metrics-reset-size-threshold uintReset metrics when their encoded size exceeds this threshold in bytes.help
--namespaces stringsNamespaces to resize PersistentVolumeClaims within.help
--no-annotation-checkSkip annotation check for StorageClasshelp
--prometheus-url stringPrometheus URL to query volume stats.help
--pvc-mutating-webhook-enabledEnable the pvc mutating webhook endpoint (default true)help
--use-k8s-metrics-apiUse Kubernetes metrics API instead of Prometheushelp
--webhook-addr stringListen address for the webhook endpoint (default ":9443")help
--zap-develDevelopment Mode defaults(encoder=consoleEncoder,logLevel=Debug,stackTraceLevel=Warn).help
--zap-encoder encoderZap log encoding (one of 'json' or 'console')help
--zap-log-level levelZap Level to configure the verbosity of logging.help
--zap-stacktrace-level levelZap Level at and above which stacktraces are captured (one of 'info', 'error', 'panic').help
--zap-time-encoding time-encodingZap time encoding (one of 'epoch', 'millis', 'nano', 'iso8601', 'rfc3339' or 'rfc3339nano').help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.