lbcli upgrade server

AI Tools

Upgrades a server or cluster. Note that servers are only upgraded if they are in Upgradeable state and the package version does not break internal operability (i.e., there is no server in the cluster with an old version that will not work properly with the new version).

lbcli upgrade server [flags]

Examples:

# Upgrade server format: lbcli upgrade server --uuid=32e7b7ab-4e6d-4b6c-8c4e-92710bcd9301 --install-pkg-uri=file:///tmp/pkgs/for/upgrade [--force] lbcli upgrade server --uuid=32e7b7ab-4e6d-4b6c-8c4e-92710bcd9301 --install-pkg-uri=http://my-repo/pkgs/for/upgrade [--force] lbcli upgrade server --uuid=32e7b7ab-4e6d-4b6c-8c4e-92710bcd9301 --install-pkg-uri=my-registry:5000/lightos:3.20.0 [--force]

Flag

Short

Type

Default

Description

--help

-h

bool


Help for server.

--etag


string


An opaque identifier allowing a client to make conditional requests (optional).

--install-pkg-uri


string


Path to install package (required).

--uuid


string


Server UUID (required).

--force


bool


Force upgrade (optional).

--proxy-password


string


Password for the proxy server (required only if the proxy is provided).

--proxy-url


string


URL of the proxy server (optional). Pattern: <http://<server-ip>>:<port>

--proxy-username


string


Username for the proxy server (required only if the proxy is provided).

--registry-token


string


Container registry token for image pulls (optional - only used for container-image install URIs).

Note

This is an async operation. The server Upgradeability state must be ‘Upgradeable’ to apply this operation.


On This Page
lbcli upgrade server