Skip to main content

node upgrade

This topic describes the options available with the Embedded Cluster node upgrade command.

In most clusters, you do not need to run this command directly. When you run upgrade on the primary controller, the daemon automatically streams the upgrade bundle to each remote node. See Multi-node clusters.

Use node upgrade when you need to upgrade a node manually. This applies to nodes running an Embedded Cluster version earlier than 3.2, which cannot receive streamed upgrades, and to the remaining nodes during the one-time upgrade from Embedded Cluster v2. See Upgrade from Embedded Cluster v2. To produce the bundle for manual upgrades, run create-upgrade-bundle on the primary controller and copy the output to the target node.

Upgrade order​

When you upgrade nodes manually, upgrade every controller node before you upgrade any worker node. Starting in Embedded Cluster 3.23.0, node upgrade on a worker node fails if any controller node is not yet running the target version. The error lists the controller nodes that still need to be upgraded. Upgrade those nodes, and then run node upgrade on the worker node again.

Usage​

sudo ./<app-slug> node upgrade [flags]

Flags​

Run sudo ./<app-slug> node upgrade --help on your installation host to list flags supported by your release.

FlagTypeDescription
--forceUpgrade this node even if another node upgrade is already running on it. Use with caution.
--skip-controller-checkAllow a worker node upgrade before all controller nodes have been upgraded. See Upgrade order.
-h, --helpHelp for node upgrade.