8.3. Modifying the klusterlet addons settings of your cluster
You can modify the settings of klusterlet addon to change your configuration using the hub cluster.
The klusterlet addon controller manages the functions that are enabled and disabled according to the settings in the klusterletaddonconfigs.agent.open-cluster-management.io Kubernetes resource.
The following settings can be updated in the klusterletaddonconfigs.agent.open-cluster-management.io Kubernetes resource:
| Setting name | Value |
|---|---|
| applicationmanager |
|
| policyController |
|
| searchCollector |
|
| certPolicyController |
|
| iamPolicyController |
|
8.3.1. Modify using the console on the hub cluster 复制链接链接已复制到粘贴板!
You can modify the settings of the klusterletaddonconfigs.agent.open-cluster-management.io resource by using the hub cluster. Complete the following steps to change the settings:
- Authenticate into the Red Hat Advanced Cluster Management for Kubernetes console of the hub cluster.
- From the main menu of the hub cluster console, select Search.
-
In the search parameters, enter the following value:
kind:klusterletaddonconfigs - Select the endpoint resource that you want to update.
-
Find the
specsection and select Edit to edit the content. - Modify your settings.
- Select Save to apply your changes.
8.3.2. Modify using the command line on the hub cluster 复制链接链接已复制到粘贴板!
You must have access to the <cluster-name> namespace to modify your settings by using the hub cluster. Complete the following steps:
- Authenticate into the hub cluster.
Enter the following command to edit the resource:
kubectl edit klusterletaddonconfigs.agent.open-cluster-management.io <cluster-name> -n <cluster-name>-
Find the
specsection. - Modify your settings, as necessary.