Skip to content

Commit c9bfd83

Browse files
authored
Merge pull request #55612 from mjpytlak/osdocs-4896
OSDOCS#4896: Adding new parameter for IBM Cloud VPC BYON install use cases
2 parents c0ee12b + 6537c5e commit c9bfd83

File tree

2 files changed

+41
-51
lines changed

2 files changed

+41
-51
lines changed

modules/installation-configuration-parameters.adoc

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,36 +1339,27 @@ Additional IBM Cloud VPC configuration parameters are described in the following
13391339
|Parameter|Description|Values
13401340

13411341
|`platform.ibmcloud.resourceGroupName`
1342-
ifndef::ibm-cloud-vpc[]
1343-
|The name of an existing resource group to install your cluster to. This resource group must only be used for this specific cluster because the cluster components assume ownership of all of the resources in the resource group. If undefined, a new resource group is created for the cluster. [^1^]
1344-
endif::ibm-cloud-vpc[]
1345-
ifdef::ibm-cloud-vpc[]
1346-
|The name of an existing resource group. The existing VPC and subnets should be in this resource group. Cluster installation resources are created in this resource group.
1347-
endif::ibm-cloud-vpc[]
1348-
1342+
|The name of an existing resource group.
1343+
By default, an installer-provisioned VPC and cluster resources are placed in this resource group. When not specified, the installation program creates the resource group for the cluster.
1344+
If you are deploying the cluster into an existing VPC, the installer-provisioned cluster resources are placed in this resource group. When not specified, the installation program creates the resource group for the cluster. The VPC resources that you have provisioned must exist in a resource group that you specify using the `networkResourceGroupName` parameter.
1345+
In either case, this resource group must only be used for a single cluster installation, as the cluster components assume ownership of all of the resources in the resource group. [^1^]
13491346
|String, for example `existing_resource_group`.
13501347

1348+
|`platform.ibmcloud.networkResourceGroupName`
1349+
|The name of an existing resource group. This resource contains the existing VPC and subnets to which the cluster will be deployed. This parameter is required when deploying the cluster to a VPC that you have provisioned.
1350+
|String, for example `existing_network_resource_group`.
1351+
13511352
|`platform.ibmcloud.dedicatedHosts.profile`
13521353
|The new dedicated host to create. If you specify a value for `platform.ibmcloud.dedicatedHosts.name`, this parameter is not required.
1353-
ifndef::ibm-cloud-vpc[]
13541354
|Valid IBM Cloud VPC dedicated host profile, such as `cx2-host-152x304`. [^2^]
1355-
endif::ibm-cloud-vpc[]
1356-
ifdef::ibm-cloud-vpc[]
1357-
|Valid IBM Cloud VPC dedicated host profile, such as `cx2-host-152x304`. [^1^]
1358-
endif::ibm-cloud-vpc[]
13591355

13601356
|`platform.ibmcloud.dedicatedHosts.name`
13611357
|An existing dedicated host. If you specify a value for `platform.ibmcloud.dedicatedHosts.profile`, this parameter is not required.
13621358
|String, for example `my-dedicated-host-name`.
13631359

13641360
|`platform.ibmcloud.type`
13651361
|The instance type for all IBM Cloud VPC machines.
1366-
ifndef::ibm-cloud-vpc[]
13671362
|Valid IBM Cloud VPC instance type, such as `bx2-8x32`. [^2^]
1368-
endif::ibm-cloud-vpc[]
1369-
ifdef::ibm-cloud-vpc[]
1370-
|Valid IBM Cloud VPC instance type, such as `bx2-8x32`. [^1^]
1371-
endif::ibm-cloud-vpc[]
13721363

13731364
|`platform.ibmcloud.vpcName`
13741365
| The name of the existing VPC that you want to deploy your cluster to.
@@ -1385,13 +1376,8 @@ endif::ibm-cloud-vpc[]
13851376
|====
13861377
[.small]
13871378
--
1388-
ifndef::ibm-cloud-vpc[]
1389-
1. Whether you define an existing resource group, or if the installer creates one, determines how the resource group is treated when the cluster is uninstalled. If you define a resource group, the installer removes all of the installer-provisioned resources, but leaves the resource group alone; if a resource group is created as part of the installation, the installer removes all of the installer provisioned resources and the resource group.
1379+
1. Whether you define an existing resource group, or if the installer creates one, determines how the resource group is treated when the cluster is uninstalled. If you define a resource group, the installer removes all of the installer-provisioned resources, but leaves the resource group alone; if a resource group is created as part of the installation, the installer removes all of the installer-provisioned resources and the resource group.
13901380
2. To determine which profile best meets your needs, see https://cloud.ibm.com/docs/vpc?topic=vpc-profiles&interface=ui[Instance Profiles] in the IBM documentation.
1391-
endif::ibm-cloud-vpc[]
1392-
ifdef::ibm-cloud-vpc[]
1393-
1. To determine which profile best meets your needs, see https://cloud.ibm.com/docs/vpc?topic=vpc-profiles&interface=ui[Instance Profiles] in the IBM documentation.
1394-
endif::ibm-cloud-vpc[]
13951381
--
13961382
endif::ibm-cloud[]
13971383

modules/installation-ibm-cloud-config-yaml.adoc

Lines changed: 32 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -137,24 +137,25 @@ platform:
137137
ibmcloud:
138138
region: eu-gb <1>
139139
resourceGroupName: eu-gb-example-network-rg <7>
140-
vpcName: eu-gb-example-network-1 <8>
141-
controlPlaneSubnets: <9>
140+
networkResourceGroupName: eu-gb-example-existing-network-rg <8>
141+
vpcName: eu-gb-example-network-1 <9>
142+
controlPlaneSubnets: <10>
142143
- eu-gb-example-network-1-cp-eu-gb-1
143144
- eu-gb-example-network-1-cp-eu-gb-2
144145
- eu-gb-example-network-1-cp-eu-gb-3
145-
computeSubnets: <10>
146+
computeSubnets: <11>
146147
- eu-gb-example-network-1-compute-eu-gb-1
147148
- eu-gb-example-network-1-compute-eu-gb-2
148149
- eu-gb-example-network-1-compute-eu-gb-3
149150
credentialsMode: Manual
150151
publish: External
151152
pullSecret: '{"auths": ...}' <1>
152153
ifndef::openshift-origin[]
153-
fips: false <11>
154-
sshKey: ssh-ed25519 AAAA... <12>
154+
fips: false <12>
155+
sshKey: ssh-ed25519 AAAA... <13>
155156
endif::openshift-origin[]
156157
ifdef::openshift-origin[]
157-
sshKey: ssh-ed25519 AAAA... <11>
158+
sshKey: ssh-ed25519 AAAA... <12>
158159
endif::openshift-origin[]
159160
----
160161
<1> Required. The installation program prompts you for this value.
@@ -168,21 +169,22 @@ If you disable simultaneous multithreading, ensure that your capacity planning a
168169
====
169170
<5> The machine CIDR must contain the subnets for the compute machines and control plane machines.
170171
<6> The cluster network plugin to install. The supported values are `OVNKubernetes` and `OpenShiftSDN`. The default value is `OVNKubernetes`.
171-
<7> The name of an existing resource group. The existing VPC and subnets should be in this resource group. The cluster is deployed to this resource group.
172-
<8> Specify the name of an existing VPC.
173-
<9> Specify the name of the existing subnets to which to deploy the control plane machines. The subnets must belong to the VPC that you specified. Specify a subnet for each availability zone in the region.
174-
<10> Specify the name of the existing subnets to which to deploy the compute machines. The subnets must belong to the VPC that you specified. Specify a subnet for each availability zone in the region.
172+
<7> The name of an existing resource group. All installer-provisioned cluster resources are deployed to this resource group. If undefined, a new resource group is created for the cluster.
173+
<8> Specify the name of the resource group that contains the existing virtual private cloud (VPC). The existing VPC and subnets should be in this resource group. The cluster will be installed to this VPC.
174+
<9> Specify the name of an existing VPC.
175+
<10> Specify the name of the existing subnets to which to deploy the control plane machines. The subnets must belong to the VPC that you specified. Specify a subnet for each availability zone in the region.
176+
<11> Specify the name of the existing subnets to which to deploy the compute machines. The subnets must belong to the VPC that you specified. Specify a subnet for each availability zone in the region.
175177
ifndef::openshift-origin[]
176-
<11> Enables or disables FIPS mode. By default, FIPS mode is not enabled. If FIPS mode is enabled, the {op-system-first} machines that {product-title} runs on bypass the default Kubernetes cryptography suite and use the cryptography modules that are provided with {op-system} instead.
178+
<12> Enables or disables FIPS mode. By default, FIPS mode is not enabled. If FIPS mode is enabled, the {op-system-first} machines that {product-title} runs on bypass the default Kubernetes cryptography suite and use the cryptography modules that are provided with {op-system} instead.
177179
+
178180
[IMPORTANT]
179181
====
180182
The use of FIPS Validated or Modules in Process cryptographic libraries is only supported on {product-title} deployments on the `x86_64` architecture.
181183
====
182-
<12> Optional: provide the `sshKey` value that you use to access the machines in your cluster.
184+
<13> Optional: provide the `sshKey` value that you use to access the machines in your cluster.
183185
endif::openshift-origin[]
184186
ifdef::openshift-origin[]
185-
<11> Optional: provide the `sshKey` value that you use to access the machines in your cluster.
187+
<12> Optional: provide the `sshKey` value that you use to access the machines in your cluster.
186188
endif::openshift-origin[]
187189
+
188190
[NOTE]
@@ -223,24 +225,25 @@ platform:
223225
ibmcloud:
224226
region: eu-gb <1>
225227
resourceGroupName: eu-gb-example-network-rg <8>
226-
vpcName: eu-gb-example-network-1 <9>
227-
controlPlaneSubnets: <10>
228+
networkResourceGroupName: eu-gb-example-existing-network-rg <9>
229+
vpcName: eu-gb-example-network-1 <10>
230+
controlPlaneSubnets: <11>
228231
- eu-gb-example-network-1-cp-eu-gb-1
229232
- eu-gb-example-network-1-cp-eu-gb-2
230233
- eu-gb-example-network-1-cp-eu-gb-3
231-
computeSubnets: <11>
234+
computeSubnets: <12>
232235
- eu-gb-example-network-1-compute-eu-gb-1
233236
- eu-gb-example-network-1-compute-eu-gb-2
234237
- eu-gb-example-network-1-compute-eu-gb-3
235238
credentialsMode: Manual
236-
publish: Internal <12>
239+
publish: Internal <13>
237240
pullSecret: '{"auths": ...}' <1>
238241
ifndef::openshift-origin[]
239-
fips: false <13>
240-
sshKey: ssh-ed25519 AAAA... <14>
242+
fips: false <14>
243+
sshKey: ssh-ed25519 AAAA... <15>
241244
endif::openshift-origin[]
242245
ifdef::openshift-origin[]
243-
sshKey: ssh-ed25519 AAAA... <13>
246+
sshKey: ssh-ed25519 AAAA... <14>
244247
endif::openshift-origin[]
245248
----
246249
<1> Required.
@@ -255,22 +258,23 @@ If you disable simultaneous multithreading, ensure that your capacity planning a
255258
<5> The machine CIDR must contain the subnets for the compute machines and control plane machines.
256259
<6> The CIDR must contain the subnets defined in `platform.ibmcloud.controlPlaneSubnets` and `platform.ibmcloud.computeSubnets`.
257260
<7> The cluster network plugin to install. The supported values are `OVNKubernetes` and `OpenShiftSDN`. The default value is `OVNKubernetes`.
258-
<8> The name of an existing resource group. The existing VPC and subnets should be in this resource group. The cluster is deployed to this resource group.
259-
<9> Specify the name of an existing VPC.
260-
<10> Specify the name of the existing subnets to which to deploy the control plane machines. The subnets must belong to the VPC that you specified. Specify a subnet for each availability zone in the region.
261-
<11> Specify the name of the existing subnets to which to deploy the compute machines. The subnets must belong to the VPC that you specified. Specify a subnet for each availability zone in the region.
262-
<12> How to publish the user-facing endpoints of your cluster. Set `publish` to `Internal` to deploy a private cluster. The default value is `External`.
261+
<8> The name of an existing resource group. All installer-provisioned cluster resources are deployed to this resource group. If undefined, a new resource group is created for the cluster.
262+
<9> Specify the name of the resource group that contains the existing virtual private cloud (VPC). The existing VPC and subnets should be in this resource group. The cluster will be installed to this VPC.
263+
<10> Specify the name of an existing VPC.
264+
<11> Specify the name of the existing subnets to which to deploy the control plane machines. The subnets must belong to the VPC that you specified. Specify a subnet for each availability zone in the region.
265+
<12> Specify the name of the existing subnets to which to deploy the compute machines. The subnets must belong to the VPC that you specified. Specify a subnet for each availability zone in the region.
266+
<13> How to publish the user-facing endpoints of your cluster. Set `publish` to `Internal` to deploy a private cluster. The default value is `External`.
263267
ifndef::openshift-origin[]
264-
<13> Enables or disables FIPS mode. By default, FIPS mode is not enabled. If FIPS mode is enabled, the {op-system-first} machines that {product-title} runs on bypass the default Kubernetes cryptography suite and use the cryptography modules that are provided with {op-system} instead.
268+
<14> Enables or disables FIPS mode. By default, FIPS mode is not enabled. If FIPS mode is enabled, the {op-system-first} machines that {product-title} runs on bypass the default Kubernetes cryptography suite and use the cryptography modules that are provided with {op-system} instead.
265269
+
266270
[IMPORTANT]
267271
====
268272
The use of FIPS Validated or Modules in Process cryptographic libraries is only supported on {product-title} deployments on the `x86_64` architecture.
269273
====
270-
<14> Optional: provide the `sshKey` value that you use to access the machines in your cluster.
274+
<15> Optional: provide the `sshKey` value that you use to access the machines in your cluster.
271275
endif::openshift-origin[]
272276
ifdef::openshift-origin[]
273-
<13> You can optionally provide the `sshKey` value that you use to access the machines in your cluster.
277+
<14> You can optionally provide the `sshKey` value that you use to access the machines in your cluster.
274278
endif::openshift-origin[]
275279
+
276280
[NOTE]

0 commit comments

Comments
 (0)