Upgrade Anthos Config Management

Upgrade Anthos Config Management to upgrade the versions of Policy Controller and Config Sync that are installed in your cluster.

Before you upgrade Anthos Config Management, check the release notes for details on what's changed between versions.

To upgrade Anthos Config Management, complete the following steps:

Console

  1. In the console:

  2. Next to the cluster whose Anthos Config Management version you want to upgrade, click Edit.

  3. Click Next.

  4. In the Config Sync page, click Show advanced settings.

  5. From the Config Management version drop-down list, select the version that you want to upgrade to.

  6. Click Done.

gcloud

Run the following command:

gcloud beta container hub config-management upgrade \
    --version=VERSION \
    --membership=MEMBERSHIP_NAME

Replace the following:

  • VERSION: the version that you want to upgrade to
  • MEMBERSHIP_NAME: the membership name that you chose when you registered your cluster. You can find the membership name by running gcloud container fleet memberships list.

Check the Anthos Config Management version

If you want to check which Anthos Config Management version is installed on your clusters before you upgrade, run the following command:

gcloud beta container hub config-management version

To learn more about this command, see the reference documentation.