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
In the console:
If you use Google Kubernetes Engine, go to the Config Management page.
If you use Anthos, go to the Anthos Config Management page.
Next to the cluster whose Anthos Config Management version you want to upgrade, click edit Edit.
Click Next.
In the Config Sync page, click Show advanced settings.
From the Config Management version drop-down list, select the version that you want to upgrade to.
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 toMEMBERSHIP_NAME
: the membership name that you chose when you registered your cluster. You can find the membership name by runninggcloud 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.