IBM Cloud Kubernetes Service (IKS) Container Provider
After initial installation and creation of a ManageIQ environment you can add an IBM Cloud Kubernetes Service Container provider.
-
Browse to menu: Compute > Containers > Providers.
-
Click Configuration, then click (Add a New Containers Provider).
-
From the Type list, select IBM Cloud Kubernetes Service.
-
Enter a Name for the provider.
-
Enter the appropriate Zone for the provider. If you do not specify a zone, it is set to
default
. -
Select a Security Protocol method to specify how to authenticate the provider:
- **SSL**: Authenticate the provider securely using a trusted Certificate Authority. Select this option if the provider has a valid SSL certificate and it is signed by a trusted Certificate Authority. No further configuration is required for this option. - **SSL trusting custom CA**: Authenticate the provider with a self-signed certificate. For this option, copy your provider’s CA certificate to the **Trusted CA Certificates** box in PEM format. - **SSL without validation**: Authenticate the provider insecurely (not recommended).
-
Enter the Hostname and API Port of the cluster. On IBM Cloud, these values can be retrieved by accessing the
Overview
page for your cluster. UnderNetworking
, clickCopy link
to copy thePublic enabled
service endpoint URL for your cluster. The URL will be copied in the following format:https://<Hostname>:<API Port>
and the necessary values can be extracted. -
Enter your IBM Cloud API Key. For detailed instructions on how to create an IBM Cloud API key, see https://cloud.ibm.com/docs/account?topic=account-userapikey&interface=ui#create_user_key Note: The API key must belong to the IBM Cloud user that created the cluster
-
Click Validate to confirm that ManageIQ can connect to the IBM Cloud Kubernetes Service.
-
Click Add.
Configuring Metrics Collection for IBM Cloud Kubernetes Service (IKS) Provider
-
On IBM Cloud, create an
IBM Cloud Monitoring
service instance -
Log in to IBM Cloud CLI i.e.
ibmcloud login -sso
-
Use the following command to retrieve the monitoring instance ID:
ibmcloud resource service-instance <INSTANCE_NAME> --output json | jq -r '.[].guid'
Refer to the following table to determine the hostname for the IBM Cloud Monitoring
service instance:
Region | Hostname |
---|---|
US South | us-south.monitoring.cloud.ibm.com |
EU DE | eu-de.monitoring.cloud.ibm.com |
EU GB | eu-gb.monitoring.cloud.ibm.com |
JP OSA | jp-osa.monitoring.cloud.ibm.com |
JP TOK | jp-tok.monitoring.cloud.ibm.com |
US East | us-east.monitoring.cloud.ibm.com |
AU SYD | au-syd.monitoring.cloud.ibm.com |
CA TOR | ca-tor.monitoring.cloud.ibm.com |
BR SAO | br-sao.monitoring.cloud.ibm.com |
- Enter the Hostname and Monitoring Instance ID under the Metrics tab when creating the IKS provider