Install latest/stable of Upgrade CDK

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install upgrade-cdk

Don't have snapd? Get set up for snaps.

Channel Version Published

Details for Upgrade CDK

Package name

  • upgrade-cdk

License

  • Apache-2.0

Last updated

  • 10 June 2026 - latest/stable

Report a Snap Store violation

Share this snap

Generate an embeddable card to be shared on external websites.

Automated Charmed Distribution of Kubernetes (CDK) upgrade tool

upgrade-cdk automates the CDK (Charmed Distribution of Kubernetes) upgrade workflow using the Jubilant library.

Features:

  • Charm refresh – refresh charms from a CSV manifest in the correct order
  • Config management – validate and apply application configuration
  • State monitoring – wait for units to reach active/idle after each step
  • ETCD backup – snapshot the etcd cluster before any upgrade begins
  • Sequential unit upgrades – upgrade control-plane and worker units one at a time with interactive confirmation
  • Blue-green worker migration – replace workers one-by-one with new machines using full cordon + drain + remove lifecycle

Usage:

upgrade-cdk <controller>:<model> <channel>

upgrade-cdk <controller>:<model> <channel> [charms.csv]

upgrade-cdk <controller>:<model> <channel> --bluegreen

upgrade-cdk <controller>:<model> <channel> [charms.csv] --bluegreen --parallel 3

When no CSV file is given the bundled charms.csv is used.

Why classic confinement? upgrade-cdk requires unrestricted filesystem access to:

  • Juju credentials at ~/.local/share/juju (written by the juju snap)
  • Kubernetes config at ~/.kube/config or $KUBECONFIG
  • SSH keys used for juju scp operations
  • The juju snap binary at /snap/bin/juju

Install Upgrade CDK on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.