mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
62 lines
1.6 KiB
Plaintext
62 lines
1.6 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * installing/installing_nutanix/installing-nutanix-installer-provisioned.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="nutanix-ccm-config_{context}"]
|
|
= Adding config map and secret resources required for Nutanix CCM
|
|
|
|
Installations on Nutanix require additional `ConfigMap` and `Secret` resources to integrate with the Nutanix Cloud Controller Manager (CCM).
|
|
|
|
.Prerequisites
|
|
|
|
* You have created a `manifests` directory within your installation directory.
|
|
|
|
.Procedure
|
|
|
|
. Navigate to the `manifests` directory:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ cd <path_to_installation_directory>/manifests
|
|
----
|
|
|
|
. Create the `cloud-conf` `ConfigMap` file with the name `openshift-cloud-controller-manager-cloud-config.yaml` and add the following information:
|
|
+
|
|
[source,yaml]
|
|
----
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: cloud-conf
|
|
namespace: openshift-cloud-controller-manager
|
|
data:
|
|
cloud.conf: "{
|
|
\"prismCentral\": {
|
|
\"address\": \"<prism_central_FQDN/IP>\", <1>
|
|
\"port\": 9440,
|
|
\"credentialRef\": {
|
|
\"kind\": \"Secret\",
|
|
\"name\": \"nutanix-credentials\",
|
|
\"namespace\": \"openshift-cloud-controller-manager\"
|
|
}
|
|
},
|
|
\"topologyDiscovery\": {
|
|
\"type\": \"Prism\",
|
|
\"topologyCategories\": null
|
|
},
|
|
\"enableCustomLabeling\": true
|
|
}"
|
|
----
|
|
<1> Specify the Prism Central FQDN/IP.
|
|
|
|
. Verify that the file `cluster-infrastructure-02-config.yml` exists and has the following information:
|
|
+
|
|
[source,yaml]
|
|
----
|
|
spec:
|
|
cloudConfig:
|
|
key: config
|
|
name: cloud-provider-config
|
|
----
|