OS Manuals

/opt/chainguard/kserve-xgbserver/bin/uvicorn

KServe XGBoost model server, serving XGBoost boosters over the KServe V1/V2 inference protocols

From kserve-xgbserver 0.21.0-r6 (enterprise-packages), captured 2026-11-08 by running uvicorn --help (exit 0). permalink

Usage: uvicorn [OPTIONS] APP

Options:
  --host TEXT                     Bind socket to this host.  [default:
                                  127.0.0.1]
  --port INTEGER                  Bind socket to this port. If 0, an available
                                  port will be picked.  [default: 8000]
  --uds TEXT                      Bind to a UNIX domain socket.
  --fd INTEGER                    Bind to socket from this file descriptor.
  --reload                        Enable auto-reload.
  --reload-dir PATH               Set reload directories explicitly, instead
                                  of using the current working directory.
  --reload-include TEXT           Set glob patterns to include while watching
                                  for files. Includes '*.py' by default; these
                                  defaults can be overridden with `--reload-
                                  exclude`. This option has no effect unless
                                  watchfiles is installed.
  --reload-exclude TEXT           Set glob patterns to exclude while watching
                                  for files. Includes '.*, .py[cod], .sw.*,
                                  ~*' by default; these defaults can be
                                  overridden with `--reload-include`. This
                                  option has no effect unless watchfiles is
                                  installed.
  --reload-delay FLOAT            Delay between previous and next check if
                                  application needs to be. Defaults to 0.25s.
                                  [default: 0.25]
  --workers INTEGER               Number of worker processes. Defaults to the
                                  $WEB_CONCURRENCY environment variable if
                                  available, or 1. Not valid with --reload.
  --loop [auto|asyncio|uvloop|zuvloop]
                                  Event loop factory implementation.
                                  [default: auto]
  --http [auto|h11|httptools|zttp]
                                  HTTP protocol implementation.  [default:
                                  auto]
  --http2                         Enable HTTP/2 support. Requires --http zttp.
  --ws [auto|websockets|websockets-sansio|wsproto]
                                  WebSocket protocol implementation.
                                  [default: auto]
  --ws-max-size INTEGER           WebSocket max size message in bytes
                                  [default: 16777216]
  --ws-max-queue INTEGER          The maximum length of the WebSocket message
                                  queue.  [default: 32]
  --ws-ping-interval FLOAT        WebSocket ping interval in seconds.
                                  [default: 20.0]
  --ws-ping-timeout FLOAT         WebSocket ping timeout in seconds.
                                  [default: 20.0]
  --ws-per-message-deflate BOOLEAN
                                  WebSocket per-message-deflate compression
                                  [default: True]
  --lifespan [auto|on|off]        Lifespan implementation.  [default: auto]
  --interface [auto|asgi3|asgi2|wsgi]
                                  Select ASGI3, ASGI2, or WSGI as the
                                  application interface.  [default: auto]
  --env-file PATH                 Environment configuration file.
  --log-config PATH               Logging configuration file. Supported
                                  formats: .ini, .json, .yaml.
  --log-level [critical|error|warning|info|debug|trace]
                                  Log level. [default: info]
  --access-log / --no-access-log  Enable/Disable access log.
  --use-colors / --no-use-colors  Enable/Disable colorized logging.
  --proxy-headers / --no-proxy-headers
                                  Enable/Disable X-Forwarded-Proto,
                                  X-Forwarded-For to populate url scheme and
                                  remote address info.
  --server-header / --no-server-header
                                  Enable/Disable default Server header.
  --date-header / --no-date-header
                                  Enable/Disable default Date header.
  --forwarded-allow-ips TEXT      Comma separated list of IP Addresses, IP
                                  Networks, or literals (e.g. UNIX Socket
                                  path) to trust with proxy headers. Defaults
                                  to the $FORWARDED_ALLOW_IPS environment
                                  variable if available, or '127.0.0.1,::1'.
                                  The literal '*' means trust everything.
  --root-path TEXT                Set the ASGI 'root_path' for applications
                                  submounted below a given URL path.
  --limit-concurrency INTEGER     Maximum number of concurrent connections or
                                  tasks to allow, before issuing HTTP 503
                                  responses.
  --backlog INTEGER               Maximum number of connections to hold in
                                  backlog
  --limit-max-requests INTEGER    Maximum number of requests to service before
                                  terminating the process.
  --limit-max-requests-jitter INTEGER
                                  Maximum jitter to add to limit_max_requests.
                                  Staggers worker restarts to avoid all
                                  workers restarting simultaneously.
                                  [default: 0]
  --timeout-keep-alive INTEGER    Close Keep-Alive connections if no new data
                                  is received within this timeout (in
                                  seconds).  [default: 5]
  --timeout-graceful-shutdown INTEGER
                                  Maximum number of seconds to wait for
                                  graceful shutdown.
  --timeout-worker-healthcheck INTEGER
                                  Maximum number of seconds to wait for a
                                  worker to respond to a healthcheck.
                                  [default: 5]
  --ssl-keyfile TEXT              SSL key file
  --ssl-certfile TEXT             SSL certificate file
  --ssl-keyfile-password TEXT     SSL keyfile password
  --ssl-version INTEGER           SSL version to use (see stdlib ssl module's)
                                  [default: 17]
  --ssl-cert-reqs INTEGER         Whether client certificate is required (see
                                  stdlib ssl module's)  [default: 0]
  --ssl-ca-certs TEXT             CA certificates file
  --ssl-ciphers TEXT              Ciphers to use (see stdlib ssl module's).
                                  Defaults to OpenSSL's safe defaults.
  --header TEXT                   Specify custom default HTTP response headers
                                  as a Name:Value pair
  --version                       Display the uvicorn version and exit.
  --app-dir TEXT                  Look for APP in the specified directory, by
                                  adding this to the PYTHONPATH. Defaults to
                                  the current working directory.  [default:
                                  ""]
  --h11-max-incomplete-event-size INTEGER
                                  For h11, the maximum number of bytes to
                                  buffer of an incomplete event.
  --reset-contextvars             Run each ASGI request in a fresh
                                  contextvars.Context. Hides context set in
                                  the lifespan.
  --factory                       Treat APP as an application factory, i.e. a
                                  () -> <ASGI app> callable.
  --help                          Show this message and exit.
Options (49)
OptionDescriptionSource
--host TEXTBind socket to this host.help
--port INTEGERBind socket to this port.help
--uds TEXTBind to a UNIX domain socket.help
--fd INTEGERBind to socket from this file descriptor.help
--reloadEnable auto-reload.help
--reload-dir PATHSet reload directories explicitly, instead of using the current working directory.help
--reload-include TEXTSet glob patterns to include while watching for files.help
--reload-exclude TEXTSet glob patterns to exclude while watching for files.help
--reload-delay FLOATDelay between previous and next check if application needs to be.help
--workers INTEGERNumber of worker processes.help
--loop auto|asyncio|uvloop|zuvloopEvent loop factory implementation.help
--http auto|h11|httptools|zttpHTTP protocol implementation.help
--http2Enable HTTP/2 support.help
--wsWebSocket protocol implementation.help
--ws-max-size INTEGERWebSocket max size message in bytes [default: 16777216]help
--ws-max-queue INTEGERThe maximum length of the WebSocket message queue.help
--ws-ping-interval FLOATWebSocket ping interval in seconds.help
--ws-ping-timeout FLOATWebSocket ping timeout in seconds.help
--ws-per-message-deflate BOOLEANWebSocket per-message-deflate compression [default: True]help
--lifespan auto|on|offLifespan implementation.help
--interface auto|asgi3|asgi2|wsgiSelect ASGI3, ASGI2, or WSGI as the application interface.help
--env-file PATHEnvironment configuration file.help
--log-config PATHLogging configuration file.help
--log-level critical|error|warning|info|debug|traceLog level.help
--access-log /Enable/Disable access log.help
--use-colors /Enable/Disable colorized logging.help
--forwarded-allow-ips TEXTComma separated list of IP Addresses, IP Networks, or literals (e.g. UNIX Socket path) to trust with proxy headers.help
--root-path TEXTSet the ASGI 'root_path' for applications submounted below a given URL path.help
--limit-concurrency INTEGERMaximum number of concurrent connections or tasks to allow, before issuing HTTP 503 responses.help
--backlog INTEGERMaximum number of connections to hold in backloghelp
--limit-max-requests INTEGERMaximum number of requests to service before terminating the process.help
--limit-max-requests-jitter INTEGERMaximum jitter to add to limit_max_requests.help
--timeout-keep-alive INTEGERClose Keep-Alive connections if no new data is received within this timeout (in seconds).help
--timeout-graceful-shutdown INTEGERMaximum number of seconds to wait for graceful shutdown.help
--timeout-worker-healthcheck INTEGERMaximum number of seconds to wait for a worker to respond to a healthcheck.help
--ssl-keyfile TEXTSSL key filehelp
--ssl-certfile TEXTSSL certificate filehelp
--ssl-keyfile-password TEXTSSL keyfile passwordhelp
--ssl-version INTEGERSSL version to use (see stdlib ssl module's) [default: 17]help
--ssl-cert-reqs INTEGERWhether client certificate is required (see stdlib ssl module's) [default: 0]help
--ssl-ca-certs TEXTCA certificates filehelp
--ssl-ciphers TEXTCiphers to use (see stdlib ssl module's).help
--header TEXTSpecify custom default HTTP response headers as a Name:Value pairhelp
--versionDisplay the uvicorn version and exit.help
--app-dir TEXTLook for APP in the specified directory, by adding this to the PYTHONPATH.help
--h11-max-incomplete-event-size INTEGERFor h11, the maximum number of bytes to buffer of an incomplete event.help
--reset-contextvarsRun each ASGI request in a fresh contextvars.Context.help
--factoryTreat APP as an application factory, i.e. a () -> <ASGI app> callable.help
--helpShow this message and exit.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.