OS Manuals

/usr/bin/virt-api

FIPS KubeVirt API server providing webhooks and REST endpoints for VM management

From virt-api-fips-1.6 1.6.6-r14 (enterprise-packages), captured 2026-11-08 by running virt-api --help (exit 2). permalink

Usage of /usr/bin/virt-api:
      --ca-configmap-name string   The name of configmap containing CA certificates to authenticate requests presenting client certificates with matching CommonName (default "kubevirt-ca")
      --console-server-port int    The port virt-handler listens on for console requests (default 8186)
      --externally-managed         Allow intermediate certificates to be used in building up the chain of trust when certificates are externally managed
      --handler-cert-file string   Client certificate used to prove the identity of the virt-api when it must call virt-handler during a request (default "/etc/virt-handler/clientcertificates/tls.crt")
      --handler-key-file string    Private key for the client certificate used to prove the identity of the virt-api when it must call virt-handler during a request (default "/etc/virt-handler/clientcertificates/tls.key")
      --kubeconfig string          absolute path to the kubeconfig file
      --listen string              Address where to listen on (default "0.0.0.0")
      --master string              master url
      --port int                   Port to listen on (default 443)
      --subresources-only          Only serve subresource endpoints
      --swagger-ui string          swagger-ui location (default "third_party/swagger-ui")
      --tls-cert-file string       File containing the default x509 Certificate for HTTPS (default "/etc/virt-api/certificates/tls.crt")
      --tls-key-file string        File containing the default x509 private key matching --tls-cert-file (default "/etc/virt-api/certificates/tls.key")
  -v, --v int                      log level for V logs (default 2)
pflag: help requested
Options (14)
OptionDescriptionSource
--ca-configmap-name stringThe name of configmap containing CA certificates to authenticate requests presenting client certificates with matching CommonName (default "kubevirt-ca")help
--console-server-port intThe port virt-handler listens on for console requests (default 8186)help
--externally-managedAllow intermediate certificates to be used in building up the chain of trust when certificates are externally managedhelp
--handler-cert-file stringClient certificate used to prove the identity of the virt-api when it must call virt-handler during a request (default "/etc/virt-handler/clientcertificates/tls.crt")help
--handler-key-file stringPrivate key for the client certificate used to prove the identity of the virt-api when it must call virt-handler during a request (default "/etc/virt-handler/clientcertificates/tls.key")help
--kubeconfig stringabsolute path to the kubeconfig filehelp
--listen stringAddress where to listen on (default "0.0.0.0")help
--master stringmaster urlhelp
--port intPort to listen on (default 443)help
--subresources-onlyOnly serve subresource endpointshelp
--swagger-ui stringswagger-ui location (default "third_party/swagger-ui")help
--tls-cert-file stringFile containing the default x509 Certificate for HTTPS (default "/etc/virt-api/certificates/tls.crt")help
--tls-key-file stringFile containing the default x509 private key matching --tls-cert-file (default "/etc/virt-api/certificates/tls.key")help
-v, --v intlog level for V logs (default 2)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.