---
title: Install Upgrade CDK on Linux | Snap Store
description: Get the latest version of Upgrade CDK for Linux - Automated Charmed Distribution
  of Kubernetes (CDK) upgrade tool
url: https://snapcraft.io/upgrade-cdk
---

# Upgrade CDK

[Kamal Bhaskar (kamalb)](https://snapcraft.io/publisher/kamalb "View all snaps from Kamal Bhaskar (kamalb)")

* [Kamal Bhaskar (kamalb)](https://snapcraft.io/publisher/kamalb "View all snaps from Kamal Bhaskar (kamalb)")
* [Server and Cloud](https://snapcraft.io/search?categories=server-and-cloud)

latest/stable v0.2.0

Install latest/stable of Upgrade CDK

---

**Install using the command line**

```
sudo snap install upgrade-cdk
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* upgrade-cdk

---

### License

* Apache-2.0

---

### Last updated

* 18 June 2026 - latest/stable

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/upgrade-cdk#report-snap-modal)

---

* [Description](https://snapcraft.io/upgrade-cdk#tab-description)
* [Security](https://snapcraft.io/upgrade-cdk#tab-security)

#### 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](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/upgrade-cdk/arch)

[### CentOS](https://snapcraft.io/install/upgrade-cdk/centos)

[### Debian](https://snapcraft.io/install/upgrade-cdk/debian)

[### elementary OS](https://snapcraft.io/install/upgrade-cdk/elementary)

[### Fedora](https://snapcraft.io/install/upgrade-cdk/fedora)

[### KDE Neon](https://snapcraft.io/install/upgrade-cdk/kde-neon)

[### Kubuntu](https://snapcraft.io/install/upgrade-cdk/kubuntu)

[### Manjaro](https://snapcraft.io/install/upgrade-cdk/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/upgrade-cdk/pop)

[### openSUSE](https://snapcraft.io/install/upgrade-cdk/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/upgrade-cdk/rhel)

[### Ubuntu](https://snapcraft.io/install/upgrade-cdk/ubuntu)
