Skip to content

Commit 47e83a9

Browse files
authored
Merge pull request #87025 from openshift-cherrypick-robot/cherry-pick-84718-to-enterprise-4.15
2 parents afe5d7e + 430afd4 commit 47e83a9

19 files changed

+97
-61
lines changed

modules/cli-logging-in-kubeadmin.adoc

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,18 @@
6060
// * installing/installing-restricted-networks-azure-installer-provisioned.adoc
6161
// * installing/installing_azure/installing-restricted-networks-azure-user-provisioned.adoc
6262

63+
ifeval::["{context}" == "installing-gcp-user-infra"]
64+
:gcp:
65+
:three-node-cluster:
66+
endif::[]
67+
ifeval::["{context}" == "installing-gcp-user-infra-vpc"]
68+
:gcp:
69+
:user-infra-vpc:
70+
endif::[]
71+
ifeval::["{context}" == "installing-restricted-networks-gcp"]
72+
:gcp:
73+
:restricted:
74+
endif::[]
6375

6476
:_mod-docs-content-type: PROCEDURE
6577
[id="cli-logging-in-kubeadmin_{context}"]
@@ -70,9 +82,13 @@ The `kubeconfig` file contains information about the cluster that is used by the
7082
The file is specific to a cluster and is created during {product-title} installation.
7183

7284
.Prerequisites
73-
85+
ifndef::gcp[]
7486
* You deployed an {product-title} cluster.
87+
endif::gcp[]
7588
* You installed the `oc` CLI.
89+
ifdef::gcp[]
90+
* Ensure the bootstrap process completed successfully.
91+
endif::gcp[]
7692

7793
.Procedure
7894

@@ -97,3 +113,16 @@ $ oc whoami
97113
----
98114
system:admin
99115
----
116+
117+
ifeval::["{context}" == "installing-gcp-user-infra"]
118+
:!gcp:
119+
:!three-node-cluster:
120+
endif::[]
121+
ifeval::["{context}" == "installing-gcp-user-infra-vpc"]
122+
:!gcp:
123+
:!user-infra-vpc:
124+
endif::[]
125+
ifeval::["{context}" == "installing-restricted-networks-gcp"]
126+
:!gcp:
127+
:!restricted:
128+
endif::[]

modules/installation-configure-proxy.adoc

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,18 @@ endif::[]
9898
ifeval::["{context}" == "installing-restricted-networks-bare-metal"]
9999
:bare-metal:
100100
endif::[]
101+
ifeval::["{context}" == "installing-gcp-user-infra"]
102+
:gcp:
103+
:three-node-cluster:
104+
endif::[]
105+
ifeval::["{context}" == "installing-gcp-user-infra-vpc"]
106+
:gcp:
107+
:user-infra-vpc:
108+
endif::[]
109+
ifeval::["{context}" == "installing-restricted-networks-gcp"]
110+
:gcp:
111+
:restricted:
112+
endif::[]
101113
ifeval::["{context}" == "installing-vsphere"]
102114
:vsphere:
103115
endif::[]
@@ -135,10 +147,12 @@ range that is specified in the `networking.machineNetwork[].cidr` field in the
135147
====
136148
endif::bare-metal[]
137149

138-
.Prerequisites
139150

151+
.Prerequisites
152+
ifndef::gcp[]
140153
* You have an existing `install-config.yaml` file.
141154
// TODO: xref (../../installing/install_config/configuring-firewall.adoc#configuring-firewall)
155+
endif::gcp[]
142156
* You reviewed the sites that your cluster requires access to and determined whether any of them need to bypass the proxy. By default, all cluster egress traffic is proxied, including calls to hosting cloud provider APIs. You added sites to the `Proxy` object's `spec.noProxy` field to bypass the proxy if necessary.
143157
+
144158
[NOTE]
@@ -258,6 +272,18 @@ endif::[]
258272
ifeval::["{context}" == "installing-vsphere"]
259273
:!vsphere:
260274
endif::[]
275+
ifeval::["{context}" == "installing-gcp-user-infra"]
276+
:!gcp:
277+
:!three-node-cluster:
278+
endif::[]
279+
ifeval::["{context}" == "installing-gcp-user-infra-vpc"]
280+
:!gcp:
281+
:!user-infra-vpc:
282+
endif::[]
283+
ifeval::["{context}" == "installing-restricted-networks-gcp"]
284+
:!gcp:
285+
:!restricted:
286+
endif::[]
261287
ifeval::["{context}" == "installing-restricted-networks-vsphere"]
262288
:!vsphere:
263289
endif::[]

modules/installation-creating-gcp-bootstrap.adoc

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,8 @@ have to contact Red Hat support with your installation logs.
2626

2727
.Prerequisites
2828

29-
* Configure a GCP account.
30-
* Generate the Ignition config files for your cluster.
31-
* Create and configure a VPC and associated subnets in GCP.
32-
* Create and configure networking and load balancers in GCP.
33-
* Create control plane and compute roles.
34-
* Ensure pyOpenSSL is installed.
29+
* Ensure you defined the variables in the _Exporting common variables_ and _Creating load balancers in GCP_ sections.
30+
* Ensure you installed pyOpenSSL.
3531
3632
.Procedure
3733

modules/installation-creating-gcp-control-plane.adoc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@ might have to contact Red Hat support with your installation logs.
2626

2727
.Prerequisites
2828

29-
* Configure a GCP account.
30-
* Generate the Ignition config files for your cluster.
31-
* Create and configure a VPC and associated subnets in GCP.
32-
* Create and configure networking and load balancers in GCP.
33-
* Create control plane and compute roles.
29+
* Ensure you defined the variables in the _Exporting common variables_, _Creating load balancers in GCP_, _Creating IAM roles in GCP_, and _Creating the bootstrap machine in GCP_ sections.
3430
* Create the bootstrap machine.
3531
3632
.Procedure

modules/installation-creating-gcp-firewall-rules-vpc.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ have to contact Red Hat support with your installation logs.
2525

2626
.Prerequisites
2727

28-
* Configure a GCP account.
29-
* Generate the Ignition config files for your cluster.
30-
* Create and configure a VPC and associated subnets in GCP.
28+
* Ensure you defined the variables in the _Exporting common variables_ and _Creating load balancers in GCP_ sections.
3129
3230
.Procedure
3331

modules/installation-creating-gcp-iam-shared-vpc.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ have to contact Red Hat support with your installation logs.
2525

2626
.Prerequisites
2727

28-
* Configure a GCP account.
29-
* Generate the Ignition config files for your cluster.
30-
* Create and configure a VPC and associated subnets in GCP.
28+
* You have defined the variables in the _Exporting common variables_ section.
3129
3230
.Procedure
3331

modules/installation-creating-gcp-lb.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ have to contact Red Hat support with your installation logs.
2525

2626
.Prerequisites
2727

28-
* Configure a GCP account.
29-
* Generate the Ignition config files for your cluster.
30-
* Create and configure a VPC and associated subnets in GCP.
28+
* You have defined the variables in the _Exporting common variables_ section.
3129
3230
.Procedure
3331

modules/installation-creating-gcp-private-dns.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ have to contact Red Hat support with your installation logs.
2525

2626
.Prerequisites
2727

28-
* Configure a GCP account.
29-
* Generate the Ignition config files for your cluster.
30-
* Create and configure a VPC and associated subnets in GCP.
28+
* Ensure you defined the variables in the _Exporting common variables_ and _Creating load balancers in GCP_ sections.
3129
3230
.Procedure
3331

modules/installation-creating-gcp-vpc.adoc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ have to contact Red Hat support with your installation logs.
2626

2727
.Prerequisites
2828

29-
* Configure a GCP account.
30-
ifndef::shared-vpc[]
31-
* Generate the Ignition config files for your cluster.
32-
endif::shared-vpc[]
29+
* You have defined the variables in the _Exporting common variables_ section.
3330
3431
.Procedure
3532

modules/installation-creating-gcp-worker.adoc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,7 @@ have to contact Red Hat support with your installation logs.
4040

4141
.Prerequisites
4242

43-
* Configure a GCP account.
44-
* Generate the Ignition config files for your cluster.
45-
* Create and configure a VPC and associated subnets in GCP.
46-
* Create and configure networking and load balancers in GCP.
47-
* Create control plane and compute roles.
43+
* Ensure you defined the variables in the _Exporting common variables_, _Creating load balancers in GCP_, and _Creating the bootstrap machine in GCP_ sections.
4844
* Create the bootstrap machine.
4945
* Create the control plane machines.
5046

0 commit comments

Comments
 (0)