Enabling and disabling IBM Cloud Private management services
After you install IBM® Cloud Private, you can disable the custom-metrics-adapter, image-security-enforcement, service-catalog, metering, and monitoring services if they are not
needed. These services were enabled by default during installation. The istio, vulnerability-advisor, storage-glusterfs, and storage-minio services are disabled by default.
Required user type or access level: Cluster administrator or team administrator.
If you are disabling a service, you must configure the helm command line interface (CLI) as an Admin user. For more information about configuring the Helm CLI, see Setting up the Helm CLI.
-
If you are upgrading to version 3.1, or later, you must reformat the management services section in the
config.yamlfile before you upgrade. The section of the file before the upgrade reads similar to the following example:disabled_management_services:["istio","vulnerability-advisor","custom-metrics-adapter"]The section of the file after the changes for the upgrade reads similar to the following example:
management-services: istio: disabled vulnerability-advisor: disabled custom-metrics-adapter: disabledNote: If you enabled
vulnerability-advisoron the previous version, ensure that thevulnerability-advisorentry is enabled in themanagement-servicessection of theconfig.yamlfile after the upgrade. The enabled entry reads:vulnerability-advisor: enabled. The setting is disabled by default in the upgraded version, and the setting is not automatically retained during the upgrade. -
To specify a service to disable, add the service to the
management_servicesparameter list in theconfig.yamlfile. You can also change the setting for listed service todisabled. -
To specify a service to enable, remove the service from the
management_servicesparameter list in theconfig.yamlfile. You can also indicate that it is enabled by changing thedisabledsetting toenabled.Note: If you are enabling the
vulnerability-advisor, deploy the new vulnerability advisor (VA) nodes. Ensure that theloggingparameter is set toenabledin the parameter list. For more information about deploying the new VA nodes, see Adding an IBM Cloud Private cluster node. -
Run the add-on command to enable or disable the service. Substitute
ARCHforamd64orppc64leaccording to your CPU architecture:docker run --rm -t -e LICENSE=accept --net=host -v $(pwd):/installer/cluster ibmcom/icp-inception-ARCH:3.1.0-ee addon