@@ -19,35 +19,28 @@ For more VMware snapshot performance recommendations, see *_Additional resources
19
19
20
20
.Procedure
21
21
22
- . Check the current config map by the running the following command:
22
+ . Check the current secret by the running the following command:
23
23
+
24
24
[source, terminal]
25
25
----
26
- $ oc -n openshift-cluster-csi-drivers get cm /vsphere-csi-config -o yaml
26
+ $ oc -n openshift-cluster-csi-drivers get secret /vsphere-csi-config-secret -o jsonpath= '{.data.cloud\.conf}' | base64 -d
27
27
----
28
28
+
29
29
.Example output
30
30
+
31
31
[source, terminal]
32
32
----
33
- apiVersion: v1
34
- data:
35
- cloud.conf: |+
36
- # Labels with topology values are added dynamically via operator
37
- [Global]
38
- cluster-id = vsphere-01-cwv8p
39
-
40
- [VirtualCenter "vcenter.openshift.com"]
41
- insecure-flag = true
42
- datacenters = DEVQEdatacenter
43
- migration-datastore-url = ds:///vmfs/volumes/vsan:527320283a8c3163-2faa6dc5949a3a28/
44
-
45
- kind: ConfigMap
46
- metadata:
47
- creationTimestamp: "2024-03-06T09:46:40Z"
48
- name: vsphere-csi-config
49
- namespace: openshift-cluster-csi-drivers
50
- resourceVersion: "126687"
33
+ # Labels with topology values are added dynamically via operator
34
+ [Global]
35
+ cluster-id = "ci-ln-rmkg2mt-c1627-bp2xf"
36
+
37
+ # Populate VCenters (multi) after here
38
+ [VirtualCenter "vcenter.ci.ibmc.devcluster.openshift.com"]
39
+ insecure-flag = true
40
+ datacenters = cidatacenter
41
+ password = "xxxxxxxx"
42
+
43
+ migration-datastore-url = ds:///vmfs/volumes/vsan:52c842f232751e0d-3253aadeac21ca82/
51
44
----
52
45
+
53
46
In this example, the global maximum number of snapshots is not configured, so the default value of 3 is applied.
@@ -59,6 +52,7 @@ In this example, the global maximum number of snapshots is not configured, so th
59
52
[source, terminal]
60
53
----
61
54
$ oc patch clustercsidriver/csi.vsphere.vmware.com -- type=merge -p '{"spec":{"driverConfig":{"vSphere":{"globalMaxSnapshotsPerBlockVolume": 10}}}}'
55
+
62
56
clustercsidriver.operator.openshift.io/csi.vsphere.vmware.com patched
63
57
----
64
58
+
@@ -94,34 +88,26 @@ In this example, the vSAN limit is being changed to 7 (`granularMaxSnapshotsPerB
94
88
+
95
89
[source, terminal]
96
90
----
97
- $ oc -n openshift-cluster-csi-drivers get cm /vsphere-csi-config -o yaml
91
+ $ oc -n openshift-cluster-csi-drivers get secret /vsphere-csi-config-secret -o jsonpath= '{.data.cloud\.conf}' | base64 -d
98
92
----
99
93
+
100
94
.Example output
101
95
+
102
96
[source, terminal]
103
97
----
104
- apiVersion: v1
105
- data:
106
- cloud.conf: |+
107
- # Labels with topology values are added dynamically via operator
108
- [Global]
109
- cluster-id = vsphere-01-cwv8p
110
-
111
- [VirtualCenter "vcenter.openshift.com"]
112
- insecure-flag = true
113
- datacenters = DEVQEdatacenter
114
- migration-datastore-url = ds:///vmfs/volumes/vsan:527320283a8c3163-2faa6dc5949a3a28/
115
-
116
- [Snapshot]
117
- global-max-snapshots-per-block-volume = 10 <1>
118
-
119
- kind: ConfigMap
120
- metadata:
121
- creationTimestamp: "2024-03-06T09:46:40Z"
122
- name: vsphere-csi-config
123
- namespace: openshift-cluster-csi-drivers
124
- resourceVersion: "127118"
125
- uid: f6968303-81d8-4048-99c1-d8211363d0fa
98
+ # Labels with topology values are added dynamically via operator
99
+ [Global]
100
+ cluster-id = "ci-ln-rmkg2mt-c1627-bp2xf"
101
+
102
+ # Populate VCenters (multi) after here
103
+ [VirtualCenter "vcenter.ci.ibmc.devcluster.openshift.com"]
104
+ insecure-flag = true
105
+ datacenters = cidatacenter
106
+ password = "xxxxxxxx"
107
+
108
+ migration-datastore-url = ds:///vmfs/volumes/vsan:52c842f232751e0d-3253aadeac21ca82/
109
+
110
+ [Snapshot]
111
+ global-max-snapshots-per-block-volume = 10 <1>
126
112
----
127
113
<1> `global-max-snapshots-per-block-volume` is now set to 10.
0 commit comments