Skip to content

Commit 159ee95

Browse files
authored
Merge pull request #63075 from skopacz1/OSDOCS-6982
2 parents 18e1aa9 + 5c0f72b commit 159ee95

File tree

3 files changed

+88
-1
lines changed

3 files changed

+88
-1
lines changed

installing/installing_nutanix/installing-nutanix-installer-provisioned.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ include::modules/cli-installing-cli.adoc[leveloffset=+1]
4545

4646
include::modules/manually-configure-iam-nutanix.adoc[leveloffset=+1]
4747

48+
include::modules/installation-nutanix-ccm.adoc[leveloffset=+1]
49+
4850
include::modules/installation-launching-installer.adoc[leveloffset=+1]
4951

5052
== Configuring the default storage container

modules/installation-nutanix-ccm.adoc

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * installing/installing_nutanix/installing-nutanix-installer-provisioned.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="nutanix-ccm-config_{context}"]
7+
= Adding config map and secret resources required for Nutanix CCM
8+
9+
Installations on Nutanix require additional `ConfigMap` and `Secret` resources to integrate with the Nutanix Cloud Controller Manager (CCM).
10+
11+
.Prerequisites
12+
13+
* You have created a `manifests` directory within your installation directory.
14+
15+
.Procedure
16+
17+
. Navigate to the `manifests` directory:
18+
+
19+
[source,terminal]
20+
----
21+
$ cd <path_to_installation_directory>/manifests
22+
----
23+
24+
. Create a file with the name `openshift-cloud-controller-manager-nutanix-credentials-credentials.yaml` and add the following information:
25+
+
26+
[source,yaml]
27+
----
28+
apiVersion: v1
29+
kind: Secret
30+
metadata:
31+
name: nutanix-credentials
32+
namespace: openshift-cloud-controller-manager
33+
type: Opaque
34+
stringData:
35+
credentials: "[{
36+
\"type\":\"basic_auth\",
37+
\"data\":{
38+
\"prismCentral\":{
39+
\"username\":\"<username_for_prism_central>\", <1>
40+
\"password\":\"<password_for_prism_central>\"}, <2>
41+
\"prismElements\":null
42+
}
43+
}]"
44+
----
45+
<1> Specify the Prism Central username.
46+
<2> Specify the Prism Central password.
47+
48+
. Create the `cloud-conf` `ConfigMap` file with the name `openshift-cloud-controller-manager-cloud-config.yaml` and add the following information:
49+
+
50+
[source,yaml]
51+
----
52+
apiVersion: v1
53+
kind: ConfigMap
54+
metadata:
55+
name: cloud-conf
56+
namespace: openshift-cloud-controller-manager
57+
data:
58+
cloud.conf: "{
59+
\"prismCentral\": {
60+
\"address\": \"<prism_central_FQDN/IP>\", <1>
61+
\"port\": 9440,
62+
\"credentialRef\": {
63+
\"kind\": \"Secret\",
64+
\"name\": \"nutanix-credentials\",
65+
\"namespace\": \"openshift-cloud-controller-manager\"
66+
}
67+
},
68+
\"topologyDiscovery\": {
69+
\"type\": \"Prism\",
70+
\"topologyCategories\": null
71+
},
72+
\"enableCustomLabeling\": true
73+
}"
74+
----
75+
<1> Specify the Prism Central FQDN/IP.
76+
77+
. Verify that the file `cluster-infrastructure-02-config.yml` exists and has the following information:
78+
+
79+
[source,yaml]
80+
----
81+
spec:
82+
cloudConfig:
83+
key: config
84+
name: cloud-provider-config
85+
----

modules/manually-configure-iam-nutanix.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * installing/installing_nutanix/configuring-iam-nutanix.adoc
3+
// * installing/installing_nutanix/installing-nutanix-installer-provisioned.adoc
44
// * installing/installing-restricted-networks-nutanix-installer-provisioned.adoc
55

66
:_content-type: PROCEDURE

0 commit comments

Comments
 (0)