Adding an OpenShift Cluster
CloudControl learns about the container environment when you add OpenShift clusters.
Note: The OpenShift Container Registry (OCR) is automatically added with your cluster. If you remove the cluster, the OCR is automatically removed as well.
-
From the Home tab, select Inventory > Kubernetes.
-
On the Clusters page, select Actions > Add Kubernetes Cluster.
Note: If there are no clusters in your system, you can also click the Add Kubernetes Cluster link on the Kubernetes Clusters page.
-
On the Add Kubernetes Cluster Import tab, choose one of the following:
- Select the Import File radio button, then click Browse and choose the kubeconfig file that you want to import.
- Select the Enter Text radio button, then paste the contents of the kubeconfig file in plain text.
Note: A kubeconfig file is a configuration file written in YAML that describes the cluster that you want to add.
- Click Continue.
-
On the Clusters tab, select the cluster that you want to add and click Continue.
Note: You can only select one cluster.
-
On the About tab, enter the following:
Field
Value
Friendly Name Enter the friendly name for the cluster. User
Enter the user name for the OpenShift Credentials.
Password Enter the password for the OpenShift Credentials.
- Click Continue.
- On the Details page, you can monitor the process.
- In the Enable Access Control dialog box, click Enable Access Control to enable the ROOT Access Control Trust Manifest, or No, not now to wait until later. After this, you will be able to view the dashboard for the newly added cluster.
What to Do Next
- View your inventory (See Viewing Kubernetes Inventory )
- View your image registries (See Viewing Image Registries)