Skip to content

Commit 9217100

Browse files
committed
Adding private and existing vpc steps to initializing installation
1 parent 1609da9 commit 9217100

3 files changed

Lines changed: 34 additions & 3 deletions

File tree

modules/installation-initializing-manual.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,19 @@ You must create a directory. Some installation assets, such as bootstrap X.509 c
129129

130130
ifdef::gcp-private[]
131131
. Edit the `install-config.yaml` file to set the `publish: Internal` parameter.
132+
. Edit the `install-config.yaml` file to set the parameters necessary for installation into an existing VPC.
133+
.. Define the network and subnets for the VPC to install the cluster in under the parent `platform.gcp` field:
134+
+
135+
[source,yaml]
136+
----
137+
platform:
138+
gcp:
139+
network: <existing_vpc>
140+
controlPlaneSubnet: <control_plane_subnet>
141+
computeSubnet: <compute_subnet>
142+
----
143+
+
144+
For `platform.gcp.network`, specify the name for the existing Google VPC. For `platform.gcp.controlPlaneSubnet` and `platform.gcp.computeSubnet`, specify the existing subnets to deploy the control plane machines and compute machines, respectively.
132145
endif::gcp-private[]
133146
ifdef::gcp-shared[]
134147
. Edit the `install-config.yaml` file to set the parameters necessary for installation into a shared VPC.

modules/installation-initializing.adoc

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ ifeval::["{context}" == "installing-gcp-customizations"]
6969
endif::[]
7070
ifeval::["{context}" == "installing-gcp-vpc"]
7171
:gcp:
72+
:gcp-vpc:
7273
endif::[]
7374
ifeval::["{context}" == "installing-gcp-shared-vpc"]
7475
:gcp:
@@ -89,6 +90,7 @@ ifeval::["{context}" == "installing-restricted-networks-gcp"]
8990
endif::[]
9091
ifeval::["{context}" == "installing-restricted-networks-gcp-installer-provisioned"]
9192
:gcp:
93+
:gcp-restricted:
9294
:restricted:
9395
endif::[]
9496
ifeval::["{context}" == "installing-ibm-cloud-customizations"]
@@ -459,6 +461,20 @@ endif::aws-outposts[]
459461
ifndef::restricted,nutanix,aws-outposts[]
460462
. Modify the `install-config.yaml` file. You can find more information about the available parameters in the "Installation configuration parameters" section.
461463
endif::restricted,nutanix,aws-outposts[]
464+
ifdef::gcp-vpc[]
465+
.. Define the network and subnets for the VPC to install the cluster in under the parent `platform.gcp` field:
466+
+
467+
[source,yaml]
468+
----
469+
platform:
470+
gcp:
471+
network: <existing_vpc>
472+
controlPlaneSubnet: <control_plane_subnet>
473+
computeSubnet: <compute_subnet>
474+
----
475+
+
476+
For `platform.gcp.network`, specify the name for the existing Google VPC. For `platform.gcp.controlPlaneSubnet` and `platform.gcp.computeSubnet`, specify the existing subnets to deploy the control plane machines and compute machines, respectively.
477+
endif::gcp-vpc[]
462478
ifdef::three-node-cluster[]
463479
+
464480
[NOTE]
@@ -581,7 +597,7 @@ where:
581597
`<control_plane_subnet>`:: Replace `<control_plane_subnet>` with the existing subnet name to deploy the control plane machines.
582598
`<compute_subnet>:: Replace `<compute_subnet>` with the existing subnet name to deploy compute machines.
583599
endif::azure+restricted[]
584-
ifdef::gcp+restricted[]
600+
ifdef::gcp-restricted[]
585601
+
586602
.. Define the network and subnets for the VPC to install the cluster in under the parent `platform.gcp` field:
587603
+
@@ -595,7 +611,7 @@ platform:
595611
----
596612
+
597613
For `platform.gcp.network`, specify the name for the existing Google VPC. For `platform.gcp.controlPlaneSubnet` and `platform.gcp.computeSubnet`, specify the existing subnets to deploy the control plane machines and compute machines, respectively.
598-
endif::gcp+restricted[]
614+
endif::gcp-restricted[]
599615
ifdef::ibm-power-vs+restricted[]
600616
+
601617
.. Define the network for the VPC to install the cluster in under the parent `platform.powervs` field:
@@ -766,6 +782,7 @@ ifeval::["{context}" == "installing-gcp-network-customizations"]
766782
endif::[]
767783
ifeval::["{context}" == "installing-gcp-vpc"]
768784
:!gcp:
785+
:!gcp-vpc:
769786
endif::[]
770787
ifeval::["{context}" == "installing-gcp-shared-vpc"]
771788
:!gcp:
@@ -783,6 +800,7 @@ ifeval::["{context}" == "installing-restricted-networks-gcp"]
783800
endif::[]
784801
ifeval::["{context}" == "installing-restricted-networks-gcp-installer-provisioned"]
785802
:!gcp:
803+
:!gcp-restricted:
786804
:!restricted:
787805
endif::[]
788806
ifeval::["{context}" == "installing-ibm-cloud-customizations"]

modules/private-clusters-about-gcp.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
= Private clusters in {gcp-short}
88

99
[role="_abstract"]
10-
To create a private cluster on {gcp-first}, you must provide an existing private VPC and subnets to host the cluster, and you must specify `publish: Internal` in your `install-config.yaml` file. The installation program must also be able to resolve the DNS records that the cluster requires. The installation program configures the Ingress Operator and API server for only internal traffic.
10+
To create a private cluster on {gcp-first}, you must provide an existing VPC network and subnets to host the cluster, and you must specify `publish: Internal` in your `install-config.yaml` file. The installation program must also be able to resolve the DNS records that the cluster requires. The installation program configures the Ingress Operator and API server for only internal traffic.
1111

1212
The cluster still requires access to internet to access the {gcp-short} APIs.
1313

0 commit comments

Comments
 (0)