OS Manuals

/usr/bin/vtadmin

Autoscaling components for Kubernetes

From vitess-22 22.0.4-r34 (enterprise-packages), captured 2026-11-08 by running vtadmin --help (exit 0). permalink

Usage:
  vtadmin [flags]

Flags:
      --addr string                             address to serve on (default ":15000")
      --alsologtostderr                         log to standard error as well as files
      --cache-refresh-key string                instructs a request to ignore any cached data (if applicable) and refresh the cache;usable as an HTTP header named 'X-<key>' and as a gRPC metadata key '<key>'
                                                Note: any whitespace characters are replaced with hyphens. (default "vt-cache-refresh")
      --cluster cluster.ClustersFlag            per-cluster configuration. any values here take precedence over those in -cluster-defaults or -cluster-config (default [])
      --cluster-config cluster.FileConfig       path to a yaml cluster configuration. see clusters.example.yaml (default {defaults: *cluster.Config:{ID: Name: DiscoveryImpl: DiscoveryFlagsByImpl:map[] TabletFQDNTmplStr: VtSQLFlags:map[] VtctldFlags:map[] BackupReadPoolConfig:<nil> SchemaReadPoolConfig:<nil> TopoRWPoolConfig:<nil> TopoReadPoolConfig:<nil> WorkflowReadPoolConfig:<nil> EmergencyFailoverPoolConfig:<nil> FailoverPoolConfig:<nil> SchemaCacheConfig:<nil> vtctldConfigOpts:[] vtsqlConfigOpts:[]}, clusters: []})
      --cluster-defaults cluster.Config         default options for all clusters (default *cluster.Config:{ID: Name: DiscoveryImpl: DiscoveryFlagsByImpl:map[] TabletFQDNTmplStr: VtSQLFlags:map[] VtctldFlags:map[] BackupReadPoolConfig:<nil> SchemaReadPoolConfig:<nil> TopoRWPoolConfig:<nil> TopoReadPoolConfig:<nil> WorkflowReadPoolConfig:<nil> EmergencyFailoverPoolConfig:<nil> FailoverPoolConfig:<nil> SchemaCacheConfig:<nil> vtctldConfigOpts:[] vtsqlConfigOpts:[]})
      --datadog-agent-host string               host to send spans to. if empty, no tracing will be done
      --datadog-agent-port string               port to send spans to. if empty, no tracing will be done
      --enable-dynamic-clusters                 whether to enable dynamic clusters that are set by request header cookies or gRPC metadata
      --grpc-allow-reflection                   whether to register the gRPC server for reflection; this is required to use tools like grpc_cli
      --grpc-enable-channelz                    whether to enable the channelz service on the gRPC server
      --grpc-tracing                            whether to enable tracing on the gRPC server
  -h, --help                                    help for vtadmin
      --http-debug-omit-env StringSetFlag       name of an environment variable to omit from /debug/env, if http debug endpoints are enabled. specify multiple times to omit multiple env vars
      --http-debug-sanitize-env StringSetFlag   name of an environment variable to sanitize in /debug/env, if http debug endpoints are enabled. specify multiple times to sanitize multiple env vars
      --http-metrics-endpoint string            HTTP endpoint to expose prometheus metrics on. Omit to disable scraping metrics. Using a path used by VTAdmin's http API is unsupported and causes undefined behavior. (default "/metrics")
      --http-no-compress                        whether to disable compression of HTTP API responses
      --http-no-debug                           whether to disable /debug/pprof/* and /debug/env HTTP endpoints
      --http-origin strings                     repeated, comma-separated flag of allowed CORS origins. omit to disable CORS
      --http-tablet-url-tmpl string             [EXPERIMENTAL] Go template string to generate a reachable http(s) address for a tablet. Currently used to make passthrough requests to /debug/vars endpoints. (default "https://{{ .Tablet.Hostname }}:80")
      --http-tracing                            whether to enable tracing on the HTTP server
      --jaeger-agent-host string                host and port to send spans to. if empty, no tracing will be done
      --lame-duck-duration duration             length of lame duck period at shutdown (default 5s)
      --lmux-read-timeout duration              how long to spend connection muxing (default 1s)
      --log_dir string                          If non-empty, write log files in this directory
      --logtostderr                             log to standard error instead of files
      --mysql_server_version string             MySQL server version to advertise. (default "8.0.40-Vitess")
      --no-rbac                                 whether to disable RBAC. must be set if not passing --no-rbac
      --rbac                                    whether to enable RBAC. must be set if not passing --rbac
      --rbac-config string                      path to an RBAC config file. must be set if passing --rbac
      --stderrthreshold severityFlag            logs at or above this threshold go to stderr (default 1)
      --tracer string                           tracing service to use (default "noop")
      --tracing-enable-logging                  whether to enable logging in the tracing service
      --tracing-sampling-rate float             sampling rate for the probabilistic jaeger sampler (default 0.1)
      --tracing-sampling-type string            sampling strategy to use for jaeger. possible values are 'const', 'probabilistic', 'rateLimiting', or 'remote' (default "const")
  -v, --v Level                                 log level for V logs
      --version                                 version for vtadmin
Options (37)
OptionDescriptionSource
--addr stringaddress to serve on (default ":15000")help
--alsologtostderrlog to standard error as well as fileshelp
--cache-refresh-key stringinstructs a request to ignore any cached data (if applicable) and refresh the cache;usable as an HTTP header named 'X-<key>' and as a gRPC metadata key '<key>' Note: any whitespace characters are…help
--cluster cluster.ClustersFlagper-cluster configuration.help
--cluster-config cluster.FileConfigpath to a yaml cluster configuration.help
--cluster-defaults cluster.Configdefault options for all clusters (default *cluster.Config:{ID: Name: DiscoveryImpl: DiscoveryFlagsByImpl:map[] TabletFQDNTmplStr: VtSQLFlags:map[] VtctldFlags:map[] BackupReadPoolConfig:<nil>…help
--datadog-agent-host stringhost to send spans to.help
--datadog-agent-port stringport to send spans to.help
--enable-dynamic-clusterswhether to enable dynamic clusters that are set by request header cookies or gRPC metadatahelp
--grpc-allow-reflectionwhether to register the gRPC server for reflection;help
--grpc-enable-channelzwhether to enable the channelz service on the gRPC serverhelp
--grpc-tracingwhether to enable tracing on the gRPC serverhelp
-h, --helphelp for vtadminhelp
--http-debug-omit-env StringSetFlagname of an environment variable to omit from /debug/env, if http debug endpoints are enabled.help
--http-debug-sanitize-env StringSetFlagname of an environment variable to sanitize in /debug/env, if http debug endpoints are enabled.help
--http-metrics-endpoint stringHTTP endpoint to expose prometheus metrics on.help
--http-no-compresswhether to disable compression of HTTP API responseshelp
--http-no-debugwhether to disable /debug/pprof/* and /debug/env HTTP endpointshelp
--http-origin stringsrepeated, comma-separated flag of allowed CORS origins.help
--http-tablet-url-tmpl string[EXPERIMENTAL] Go template string to generate a reachable http(s) address for a tablet.help
--http-tracingwhether to enable tracing on the HTTP serverhelp
--jaeger-agent-host stringhost and port to send spans to.help
--lame-duck-duration durationlength of lame duck period at shutdown (default 5s)help
--lmux-read-timeout durationhow long to spend connection muxing (default 1s)help
--log_dir stringIf non-empty, write log files in this directoryhelp
--logtostderrlog to standard error instead of fileshelp
--mysql_server_version stringMySQL server version to advertise.help
--no-rbacwhether to disable RBAC.help
--rbacwhether to enable RBAC.help
--rbac-config stringpath to an RBAC config file.help
--stderrthreshold severityFlaglogs at or above this threshold go to stderr (default 1)help
--tracer stringtracing service to use (default "noop")help
--tracing-enable-loggingwhether to enable logging in the tracing servicehelp
--tracing-sampling-rate floatsampling rate for the probabilistic jaeger sampler (default 0.1)help
--tracing-sampling-type stringsampling strategy to use for jaeger.help
-v, --v Levellog level for V logshelp
--versionversion for vtadminhelp

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