Skip to content

Commit 0c7e766

Browse files
authored
Merge pull request #84718 from brendan-daly-red-hat/OSDOCS-12577
2 parents 3e6fc46 + 702c6dd commit 0c7e766

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
@@ -58,6 +58,18 @@
5858
// * installing/installing-restricted-networks-azure-installer-provisioned.adoc
5959
// * installing/installing_azure/installing-restricted-networks-azure-user-provisioned.adoc
6060

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

6274
:_mod-docs-content-type: PROCEDURE
6375
[id="cli-logging-in-kubeadmin_{context}"]
@@ -68,9 +80,13 @@ The `kubeconfig` file contains information about the cluster that is used by the
6880
The file is specific to a cluster and is created during {product-title} installation.
6981

7082
.Prerequisites
71-
83+
ifndef::gcp[]
7284
* You deployed an {product-title} cluster.
85+
endif::gcp[]
7386
* You installed the `oc` CLI.
87+
ifdef::gcp[]
88+
* Ensure the bootstrap process completed successfully.
89+
endif::gcp[]
7490

7591
.Procedure
7692

@@ -95,3 +111,16 @@ $ oc whoami
95111
----
96112
system:admin
97113
----
114+
115+
ifeval::["{context}" == "installing-gcp-user-infra"]
116+
:!gcp:
117+
:!three-node-cluster:
118+
endif::[]
119+
ifeval::["{context}" == "installing-gcp-user-infra-vpc"]
120+
:!gcp:
121+
:!user-infra-vpc:
122+
endif::[]
123+
ifeval::["{context}" == "installing-restricted-networks-gcp"]
124+
:!gcp:
125+
:!restricted:
126+
endif::[]

modules/installation-configure-proxy.adoc

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

137-
.Prerequisites
138149

150+
.Prerequisites
151+
ifndef::gcp[]
139152
* You have an existing `install-config.yaml` file.
140153
// TODO: xref (../../installing/install_config/configuring-firewall.adoc#configuring-firewall)
154+
endif::gcp[]
141155
* 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.
142156
+
143157
[NOTE]
@@ -257,6 +271,18 @@ endif::[]
257271
ifeval::["{context}" == "installing-vsphere"]
258272
:!vsphere:
259273
endif::[]
274+
ifeval::["{context}" == "installing-gcp-user-infra"]
275+
:!gcp:
276+
:!three-node-cluster:
277+
endif::[]
278+
ifeval::["{context}" == "installing-gcp-user-infra-vpc"]
279+
:!gcp:
280+
:!user-infra-vpc:
281+
endif::[]
282+
ifeval::["{context}" == "installing-restricted-networks-gcp"]
283+
:!gcp:
284+
:!restricted:
285+
endif::[]
260286
ifeval::["{context}" == "installing-restricted-networks-vsphere"]
261287
:!vsphere:
262288
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)