OS Manuals

/usr/bin/main

From local-volume-node-cleanup 2.8.0-r21 (os), captured 2026-11-05 by running main --help (exit 2). permalink

Usage of /usr/bin/main:
      --kube-api-endpoint string               Master URL to build a client config from. Either this or kubeconfig needs to be set if the provisioner is being run out of cluster.
      --kubeconfig string                      Absolute path to the kubeconfig file. Either this or kube-api-endpoint needs to be set if the provisioner is being run out of cluster.
      --listen-address :8080                   The TCP network address where the prometheus metrics endpoint will listen (example: :8080). (default ":8080")
      --metrics-path string                    The HTTP path where prometheus metrics will be exposed. (default "/metrics")
      --pvc-deletion-delay duration            Duration, in seconds, to wait after Node deletion for PVC cleanup. (default 1m0s)
      --resync duration                        Duration, in minutes, of the resync interval of the controller. (default 10m0s)
      --stale-pv-discovery-interval duration   Duration, in seconds, the PV Deleter should wait between tries to clean up stale PVs. (default 10s)
      --storageclass-names strings             Comma separated list of names of StorageClasses to opt-in PVs and PVCs for cleanup.
      --worker-threads uint                    Number of controller worker threads. (default 10)
pflag: help requested
Options (9)
OptionDescriptionSource
--kube-api-endpoint stringMaster URL to build a client config from.help
--kubeconfig stringAbsolute path to the kubeconfig file.help
--listen-address :8080The TCP network address where the prometheus metrics endpoint will listen (example: :8080).help
--metrics-path stringThe HTTP path where prometheus metrics will be exposed.help
--pvc-deletion-delay durationDuration, in seconds, to wait after Node deletion for PVC cleanup.help
--resync durationDuration, in minutes, of the resync interval of the controller.help
--stale-pv-discovery-interval durationDuration, in seconds, the PV Deleter should wait between tries to clean up stale PVs.help
--storageclass-names stringsComma separated list of names of StorageClasses to opt-in PVs and PVCs for cleanup.help
--worker-threads uintNumber of controller worker threads.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.