|
| 1 | +--- |
| 2 | +sidebar_label: "Upgrade Cluster Groups" |
| 3 | +title: "Upgrade Cluster Groups" |
| 4 | +description: "Learn how to upgrade a Palette Cluster Group." |
| 5 | +hide_table_of_contents: false |
| 6 | +sidebar_position: 30 |
| 7 | +tags: ["clusters", "cluster groups"] |
| 8 | +--- |
| 9 | + |
| 10 | +Palette provides the ability to upgrade the [vCluster version](https://www.vcluster.com/releases/en/changelog) of your |
| 11 | +virtual clusters, allowing you to leverage newly introduced features without having to create new cluster groups or |
| 12 | +migrate workloads. This guide covers how to upgrade your cluster groups, which may be running an outdated version if a |
| 13 | +new Palette release introduces a new vCluster version. |
| 14 | + |
| 15 | +## Prerequisites |
| 16 | + |
| 17 | +- One or more cluster groups created before a Palette upgrade that updates the |
| 18 | + [vCluster version](https://www.vcluster.com/releases/en/changelog). |
| 19 | + |
| 20 | +## Upgrade Cluster Group |
| 21 | + |
| 22 | +1. Log in to [Palette](https://console.spectrocloud.com). |
| 23 | + |
| 24 | +2. Navigate to the left **Main Menu** and select **Cluster Groups**. |
| 25 | + |
| 26 | +3. Select one of the legacy cluster groups. The cluster group overview page displays a banner if a cluster upgrade is |
| 27 | + available for your cluster group. |
| 28 | + |
| 29 | + :::info |
| 30 | + |
| 31 | + You will not be able to create new virtual clusters on cluster groups that are pending upgrades. |
| 32 | + |
| 33 | + ::: |
| 34 | + |
| 35 | +  |
| 36 | + |
| 37 | +4. Select the **Update now** button to begin the upgrade process. The **Cluster Group Settings** pane appears. Select |
| 38 | + the newest version from the **Virtual cluster version** dropdown. The **Review changes** editor appears. |
| 39 | + |
| 40 | +  |
| 41 | + |
| 42 | +5. The differential editor displays the changes between the **Current Configuration** and **New Configuration**. The |
| 43 | + left side of the editor displays the current configuration. The right side displays the new vCluster version's |
| 44 | + incoming changes. Review the changes and apply them as needed. |
| 45 | + |
| 46 | + :::tip |
| 47 | + |
| 48 | + Ensure that you retain any custom configurations that you have provided in your current configuration. |
| 49 | + |
| 50 | + ::: |
| 51 | + |
| 52 | +  |
| 53 | + |
| 54 | +6. Select **Apply changes** once you have finished the review process. The editor closes. Select **Save changes** on the |
| 55 | + **Cluster Group Settings** pane to start the cluster group upgrade. A warning popup appears cautioning you that API |
| 56 | + access to your cluster group will be suspended during the upgrade. Select **OK** to begin the process. |
| 57 | + |
| 58 | +  |
| 59 | + |
| 60 | +## Validate |
| 61 | + |
| 62 | +1. Log in to [Palette](https://console.spectrocloud.com). |
| 63 | + |
| 64 | +2. Navigate to the left **Main Menu** and select **Cluster Groups**. |
| 65 | + |
| 66 | +3. Select one of the cluster groups that you have upgraded. The cluster group overview page appears. |
| 67 | + |
| 68 | +4. Select **Settings**. The **Cluster Group Settings** pane appears. |
| 69 | + |
| 70 | +5. Select the **Settings** tab. The **Advanced Config** section containing the YAML virtual cluster configuration |
| 71 | + appears. Check the vCluster version set in the `sync.statefulSet.image.tag` field. |
| 72 | + |
| 73 | + ```yaml hideClipboard {12} title="Example configuration" |
| 74 | + statefulSet: |
| 75 | + # Image is the image for the controlPlane statefulSet container |
| 76 | + image: |
| 77 | + # Configure the registry of the container image, e.g. my-registry.com or ghcr.io |
| 78 | + # It defaults to ghcr.io and can be overriding either by using this field or controlPlane.advanced.defaultImageRegistry |
| 79 | + registry: "us-docker.pkg.dev" |
| 80 | + # Configure the repository of the container image, e.g. my-repo/my-image. |
| 81 | + # It defaults to the vCluster pro repository that includes the optional pro modules that are turned off by default. |
| 82 | + # If you still want to use the pure OSS build, use 'loft-sh/vcluster-oss' instead. |
| 83 | + repository: "palette-images/third-party/vcluster-oss" |
| 84 | + # Tag is the tag of the container image, e.g. latest |
| 85 | + tag: "0.27.1" |
| 86 | + ``` |
0 commit comments