Skip to content

Commit 6537c5e

Browse files
committed
OSDOCS#4896: Adding new parameter for BYON install use cases
1 parent 6c02ed8 commit 6537c5e

File tree

2 files changed

+44
-54
lines changed

2 files changed

+44
-54
lines changed

modules/installation-configuration-parameters.adoc

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

13481348
|`platform.ibmcloud.resourceGroupName`
1349-
ifndef::ibm-cloud-vpc[]
1350-
|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^]
1351-
endif::ibm-cloud-vpc[]
1352-
ifdef::ibm-cloud-vpc[]
1353-
|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.
1354-
endif::ibm-cloud-vpc[]
1355-
1349+
|The name of an existing resource group.
1350+
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.
1351+
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.
1352+
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^]
13561353
|String, for example `existing_resource_group`.
13571354

1355+
|`platform.ibmcloud.networkResourceGroupName`
1356+
|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.
1357+
|String, for example `existing_network_resource_group`.
1358+
13581359
|`platform.ibmcloud.dedicatedHosts.profile`
13591360
|The new dedicated host to create. If you specify a value for `platform.ibmcloud.dedicatedHosts.name`, this parameter is not required.
1360-
ifndef::ibm-cloud-vpc[]
13611361
|Valid IBM Cloud VPC dedicated host profile, such as `cx2-host-152x304`. [^2^]
1362-
endif::ibm-cloud-vpc[]
1363-
ifdef::ibm-cloud-vpc[]
1364-
|Valid IBM Cloud VPC dedicated host profile, such as `cx2-host-152x304`. [^1^]
1365-
endif::ibm-cloud-vpc[]
13661362

13671363
|`platform.ibmcloud.dedicatedHosts.name`
13681364
|An existing dedicated host. If you specify a value for `platform.ibmcloud.dedicatedHosts.profile`, this parameter is not required.
13691365
|String, for example `my-dedicated-host-name`.
13701366

13711367
|`platform.ibmcloud.type`
13721368
|The instance type for all IBM Cloud VPC machines.
1373-
ifndef::ibm-cloud-vpc[]
13741369
|Valid IBM Cloud VPC instance type, such as `bx2-8x32`. [^2^]
1375-
endif::ibm-cloud-vpc[]
1376-
ifdef::ibm-cloud-vpc[]
1377-
|Valid IBM Cloud VPC instance type, such as `bx2-8x32`. [^1^]
1378-
endif::ibm-cloud-vpc[]
13791370

13801371
|`platform.ibmcloud.vpcName`
13811372
| The name of the existing VPC that you want to deploy your cluster to.
@@ -1392,13 +1383,8 @@ endif::ibm-cloud-vpc[]
13921383
|====
13931384
[.small]
13941385
--
1395-
ifndef::ibm-cloud-vpc[]
1396-
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.
1386+
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.
13971387
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.
1398-
endif::ibm-cloud-vpc[]
1399-
ifdef::ibm-cloud-vpc[]
1400-
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.
1401-
endif::ibm-cloud-vpc[]
14021388
--
14031389
endif::ibm-cloud[]
14041390

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

Lines changed: 35 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ controlPlane: <2> <3>
3838
hyperthreading: Enabled <4>
3939
name: master
4040
platform:
41-
ibm-cloud: {}
41+
ibmcloud: {}
4242
replicas: 3
4343
compute: <2> <3>
4444
- hyperthreading: Enabled <4>
@@ -114,7 +114,7 @@ controlPlane: <2> <3>
114114
hyperthreading: Enabled <4>
115115
name: master
116116
platform:
117-
ibm-cloud: {}
117+
ibmcloud: {}
118118
replicas: 3
119119
compute: <2> <3>
120120
- hyperthreading: Enabled <4>
@@ -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]
@@ -200,7 +202,7 @@ controlPlane: <2> <3>
200202
hyperthreading: Enabled <4>
201203
name: master
202204
platform:
203-
ibm-cloud: {}
205+
ibmcloud: {}
204206
replicas: 3
205207
compute: <2> <3>
206208
- hyperthreading: Enabled <4>
@@ -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)