Skip to content

Commit 402a539

Browse files
authored
Merge pull request #32482 from codyhoag/gcp-restricted-network
OSDOCS-1770 Installing a cluster on GCP in a restricted network
2 parents 2c475ca + f591cba commit 402a539

13 files changed

+214
-17
lines changed

_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ Topics:
191191
File: installing-gcp-customizations
192192
- Name: Installing a cluster on GCP with network customizations
193193
File: installing-gcp-network-customizations
194+
- Name: Installing a cluster on GCP in a restricted network
195+
File: installing-restricted-networks-gcp-installer-provisioned
194196
- Name: Installing a cluster on GCP into an existing VPC
195197
File: installing-gcp-vpc
196198
- Name: Installing a private cluster on GCP

installing/installing-preparing.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ If you use a user-provisioned installation method, you can configure a proxy for
6262

6363
If you want to prevent your cluster on a public cloud from exposing endpoints externally, you can deploy a private cluster with installer-provisioned infrastructure on xref:../installing/installing_aws/installing-aws-private.adoc#installing-aws-private[AWS], xref:../installing/installing_azure/installing-azure-private.adoc#installing-azure-private[Azure], or xref:../installing/installing_gcp/installing-gcp-private.adoc#installing-gcp-private[GCP].
6464

65-
If you need to install your cluster that has limited access to the Internet, such as a disconnected or restricted network cluster, you can xref:../installing/install_config/installing-restricted-networks-preparations.adoc#installing-restricted-networks-preparations[mirror the installation packages] and install the cluster from them. Follow detailed instructions for user provisioned infrastructure installations into restricted networks for xref:../installing/installing_aws/installing-restricted-networks-aws.adoc#installing-restricted-networks-aws[AWS], xref:../installing/installing_gcp/installing-restricted-networks-gcp.adoc#installing-restricted-networks-gcp[GCP], xref:../installing/installing_ibm_z/installing-restricted-networks-ibm-z.adoc#installing-restricted-networks-ibm-z[IBM Z or LinuxONE], xref:../installing/installing_ibm_power/installing-restricted-networks-ibm-power.adoc#installing-restricted-networks-ibm-power[IBM Power], xref:../installing/installing_vsphere/installing-restricted-networks-vsphere.adoc#installing-restricted-networks-vsphere[vSphere], or xref:../installing/installing_bare_metal/installing-restricted-networks-bare-metal.adoc#installing-restricted-networks-bare-metal[bare metal]. You can also install a cluster into a restricted network using installer-provisioned infrastructure by following detailed instructions for xref:../installing/installing_aws/installing-restricted-networks-aws-installer-provisioned.adoc#installing-restricted-networks-aws-installer-provisioned[AWS], xref:../installing/installing_openstack/installing-openstack-installer-restricted.adoc#installing-openstack-installer-restricted[{rh-openstack}], xref:../installing/installing_rhv/installing-rhv-restricted-network.adoc#installing-rhv-restricted-network[{rh-virtualization}], and xref:../installing/installing_vsphere/installing-restricted-networks-installer-provisioned-vsphere.adoc#installing-restricted-networks-installer-provisioned-vsphere[vSphere].
65+
If you need to install your cluster that has limited access to the Internet, such as a disconnected or restricted network cluster, you can xref:../installing/install_config/installing-restricted-networks-preparations.adoc#installing-restricted-networks-preparations[mirror the installation packages] and install the cluster from them. Follow detailed instructions for user provisioned infrastructure installations into restricted networks for xref:../installing/installing_aws/installing-restricted-networks-aws.adoc#installing-restricted-networks-aws[AWS], xref:../installing/installing_gcp/installing-restricted-networks-gcp.adoc#installing-restricted-networks-gcp[GCP], xref:../installing/installing_ibm_z/installing-restricted-networks-ibm-z.adoc#installing-restricted-networks-ibm-z[IBM Z or LinuxONE], xref:../installing/installing_ibm_power/installing-restricted-networks-ibm-power.adoc#installing-restricted-networks-ibm-power[IBM Power], xref:../installing/installing_vsphere/installing-restricted-networks-vsphere.adoc#installing-restricted-networks-vsphere[vSphere], or xref:../installing/installing_bare_metal/installing-restricted-networks-bare-metal.adoc#installing-restricted-networks-bare-metal[bare metal]. You can also install a cluster into a restricted network using installer-provisioned infrastructure by following detailed instructions for xref:../installing/installing_aws/installing-restricted-networks-aws-installer-provisioned.adoc#installing-restricted-networks-aws-installer-provisioned[AWS], xref:../installing/installing_gcp/installing-restricted-networks-gcp-installer-provisioned.adoc#installing-restricted-networks-gcp-installer-provisioned[GCP], xref:../installing/installing_openstack/installing-openstack-installer-restricted.adoc#installing-openstack-installer-restricted[{rh-openstack}], xref:../installing/installing_rhv/installing-rhv-restricted-network.adoc#installing-rhv-restricted-network[{rh-virtualization}], and xref:../installing/installing_vsphere/installing-restricted-networks-installer-provisioned-vsphere.adoc#installing-restricted-networks-installer-provisioned-vsphere[vSphere].
6666

6767
If you need to deploy your cluster to an xref:../installing/installing_aws/installing-aws-government-region.adoc#installing-aws-government-region[AWS GovCloud region] or xref:../installing/installing_azure/installing-azure-government-region.adoc#installing-azure-government-region[Azure government region], you can configure those custom regions during an installer-provisioned infrastructure installation.
6868

@@ -145,7 +145,7 @@ endif::openshift-origin[]
145145
|Restricted network
146146
|xref:../installing/installing_aws/installing-restricted-networks-aws-installer-provisioned.adoc#installing-restricted-networks-aws-installer-provisioned[X]
147147
|
148-
|
148+
|xref:../installing/installing_gcp/installing-restricted-networks-gcp-installer-provisioned.adoc#installing-restricted-networks-gcp-installer-provisioned[X]
149149
|xref:../installing/installing_openstack/installing-openstack-installer-restricted.adoc#installing-openstack-installer-restricted[X]
150150
|xref:../installing/installing_rhv/installing-rhv-restricted-network.adoc#installing-rhv-restricted-network[X]
151151
|
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
[id="installing-restricted-networks-gcp-installer-provisioned"]
2+
= Installing a cluster on GCP in a restricted network
3+
include::modules/common-attributes.adoc[]
4+
:context: installing-restricted-networks-gcp-installer-provisioned
5+
6+
toc::[]
7+
8+
In {product-title} {product-version}, you can install a cluster on Google Cloud Platform (GCP) in a restricted network by creating an internal mirror of the installation release content on an existing Google Virtual Private Cloud (VPC).
9+
10+
[IMPORTANT]
11+
====
12+
You can install an {product-title} cluster by using mirrored installation release content, but your cluster will require internet access to use the GCP APIs.
13+
====
14+
15+
[id="prerequisites_installing-restricted-networks-gcp-installer-provisioned"]
16+
== Prerequisites
17+
18+
* You xref:../../installing/install_config/installing-restricted-networks-preparations.adoc#installing-restricted-networks-preparations[created a mirror registry on your bastion host] and obtained the `imageContentSources` data for your version of {product-title}.
19+
+
20+
[IMPORTANT]
21+
====
22+
Because the installation media is on the bastion host, use that computer to complete all installation steps.
23+
====
24+
* You have an existing VPC in GCP. While installing a cluster in a restricted network that uses installer-provisioned infrastructure, you cannot use the installer-provisioned VPC. You must use a user-provisioned VPC that satisfies one of the following requirements:
25+
** Contains the mirror registry
26+
** Has firewall rules or a peering connection to access the mirror registry hosted elsewhere
27+
* You reviewed details about the xref:../../architecture/architecture-installation.adoc#architecture-installation[{product-title} installation and update] processes.
28+
* If you use a firewall, you must xref:../../installing/install_config/configuring-firewall.adoc#configuring-firewall[configure it to allow the sites] that your cluster requires access to. While you might need to grant access to more sites, you must grant access to `*.googleapis.com` and `accounts.google.com`.
29+
* If you do not allow the system to manage identity and access management (IAM), then a cluster administrator can xref:../../installing/installing_gcp/manually-creating-iam-gcp.adoc#manually-creating-iam-gcp[manually create and maintain IAM credentials]. Manual mode can also be used in environments where the cloud IAM APIs are not reachable.
30+
31+
include::modules/installation-about-restricted-network.adoc[leveloffset=+1]
32+
33+
include::modules/cluster-entitlements.adoc[leveloffset=+1]
34+
35+
.Additional resources
36+
37+
* See xref:../../support/remote_health_monitoring/about-remote-health-monitoring.adoc#about-remote-health-monitoring[About remote health monitoring] for more information about the Telemetry service
38+
39+
include::modules/ssh-agent-using.adoc[leveloffset=+1]
40+
41+
include::modules/installation-initializing.adoc[leveloffset=+1]
42+
43+
include::modules/installation-configuration-parameters.adoc[leveloffset=+2]
44+
45+
include::modules/installation-gcp-config-yaml.adoc[leveloffset=+2]
46+
47+
include::modules/installation-configure-proxy.adoc[leveloffset=+2]
48+
49+
include::modules/installation-launching-installer.adoc[leveloffset=+1]
50+
51+
include::modules/cli-installing-cli.adoc[leveloffset=+1]
52+
53+
include::modules/cli-logging-in-kubeadmin.adoc[leveloffset=+1]
54+
55+
[id="next-steps_installing-restricted-networks-gcp-installer-provisioned"]
56+
== Next steps
57+
58+
* xref:../../installing/validating-an-installation.adoc#validating-an-installation[Validate an installation].
59+
* xref:../../post_installation_configuration/cluster-tasks.adoc#available_cluster_customizations[Customize your cluster].
60+
* Learn how to xref:../../operators/admin/olm-restricted-networks.adoc#olm-understanding-operator-catalog-images_olm-restricted-networks[use Operator Lifecycle Manager (OLM) on restricted networks].
61+
* If the mirror registry that you used to install your cluster has a trusted CA, add it to the cluster by xref:../../openshift_images/image-configuration.adoc#images-configuration-cas_image-configuration[configuring additional trust stores].
62+
* If necessary, you can xref:../../support/remote_health_monitoring/opting-out-of-remote-health-reporting.adoc#opting-out-remote-health-reporting_opting-out-remote-health-reporting[opt out of remote health reporting].

modules/cli-installing-cli.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
// * installing/installing_gcp/installing-gcp-default.adoc
2222
// * installing/installing_gcp/installing-gcp-vpc.adoc
2323
// * installing/installing_gcp/installing-gcp-user-infra.adoc
24+
// * installing/installing_gcp/installing-restricted-networks-gcp-installer-provisioned.adoc
2425
// * installing/install_config/installing-restricted-networks-preparations.adoc
2526
// * installing/installing_vmc/installing-vmc-user-infra.adoc
2627
// * installing/installing_vmc/installing-vmc.adoc

modules/cli-logging-in-kubeadmin.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
// * installing/installing_gcp/installing-gcp-user-infra.adoc
2323
// * installing/installing_gcp_user_infra/installing-gcp-user-infra.adoc
2424
// * installing/installing_gcp/installing-restricted-networks-gcp.adoc
25+
// * installing/installing_gcp/installing-restricted-networks-gcp-installer-provisioned.adoc
2526
// * installing/installing_openstack/installing-openstack-installer-custom.adoc
2627
// * installing/installing_openstack/installing-openstack-installer-kuryr.adoc
2728
// * installing/installing_openstack/installing-openstack-installer.adoc

modules/cluster-entitlements.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
// * installing/installing_gcp/installing-gcp-private.adoc
2121
// * installing/installing_gcp/installing-gcp-default.adoc
2222
// * installing/installing_gcp/installing-gcp-vpc.adoc
23+
// * installing/installing_gcp/installing-restricted-networks-gcp-installer-provisioned.adoc
2324
// * installing/installing_openstack/installing-openstack-installer-custom.adoc
2425
// * installing/installing_openstack/installing-openstack-installer-kuryr.adoc
2526
// * installing/installing_openstack/installing-openstack-installer.adoc
@@ -45,6 +46,9 @@
4546
ifeval::["{context}" == "installing-restricted-networks-bare-metal"]
4647
:restricted:
4748
endif::[]
49+
ifeval::["{context}" == "installing-restricted-networks-gcp-installer-provisioned"]
50+
:restricted:
51+
endif::[]
4852
ifeval::["{context}" == "installing-restricted-networks-vsphere"]
4953
:restricted:
5054
endif::[]
@@ -99,6 +103,9 @@ endif::openshift-origin[]
99103
ifeval::["{context}" == "installing-restricted-networks-bare-metal"]
100104
:!restricted:
101105
endif::[]
106+
ifeval::["{context}" == "installing-restricted-networks-gcp-installer-provisioned"]
107+
:!restricted:
108+
endif::[]
102109
ifeval::["{context}" == "installing-restricted-networks-vsphere"]
103110
:!restricted:
104111
endif::[]

modules/installation-about-restricted-network.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// * installing/installing_aws/installing-restricted-networks-aws.adoc
44
// * installing/installing_aws/installing-restricted-networks-aws-installer-provisioned.adoc
55
// * installing/installing_bare_metal/installing-restricted-networks-bare-metal.adoc
6+
// * installing/installing_gcp/installing-restricted-networks-gcp-installer-provisioned.adoc
67
// * installing/installing_vmc/installing-restricted-networks-vmc.adoc
78
// * installing/installing_vmc/installing-restricted-networks-vmc-user-infra.adoc
89
// * installing/installing_vsphere/installing-restricted-networks-vsphere.adoc
@@ -18,6 +19,9 @@ endif::[]
1819
ifeval::["{context}" == "installing-restricted-networks-ibm-power"]
1920
:ibm-power:
2021
endif::[]
22+
ifeval::["{context}" == "installing-restricted-networks-gcp-installer-provisioned"]
23+
:ipi:
24+
endif::[]
2125
ifeval::["{context}" == "installing-openstack-installer-restricted"]
2226
:ipi:
2327
endif::[]
@@ -81,6 +85,9 @@ endif::[]
8185
ifeval::["{context}" == "installing-restricted-networks-ibm-power"]
8286
:!ibm-power:
8387
endif::[]
88+
ifeval::["{context}" == "installing-restricted-networks-gcp-installer-provisioned"]
89+
:!ipi:
90+
endif::[]
8491
ifeval::["{context}" == "installing-openstack-installer-restricted"]
8592
:!ipi:
8693
endif::[]

modules/installation-configuration-parameters.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
// * installing/installing_gcp/installing-gcp-private.adoc
1616
// * installing/installing_gcp/installing-gcp-network-customizations.adoc
1717
// * installing/installing_gcp/installing-gcp-vpc.adoc
18+
// * installing/installing_gcp/installing-restricted-networks-gcp-installer-provisioned.adoc
1819
// * installing/installing_openstack/installing-openstack-installer-custom.adoc
1920
// * installing/installing_openstack/installing-openstack-installer-kuryr.adoc
2021
// * installing/installing_openstack/installing-openstack-user.adoc
@@ -72,6 +73,9 @@ endif::[]
7273
ifeval::["{context}" == "installing-gcp-vpc"]
7374
:gcp:
7475
endif::[]
76+
ifeval::["{context}" == "installing-restricted-networks-gcp-installer-provisioned"]
77+
:gcp:
78+
endif::[]
7579
ifeval::["{context}" == "installing-aws-customizations"]
7680
:aws:
7781
endif::[]
@@ -955,6 +959,9 @@ endif::[]
955959
ifeval::["{context}" == "installing-gcp-vpc"]
956960
:!gcp:
957961
endif::[]
962+
ifeval::["{context}" == "installing-restricted-networks-gcp-installer-provisioned"]
963+
:!gcp:
964+
endif::[]
958965
ifeval::["{context}" == "installing-aws-customizations"]
959966
:!aws:
960967
endif::[]

modules/installation-configure-proxy.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// * installing/installing_azure/installing-azure-user-infra.adoc
99
// * installing/installing_gcp/installing-gcp-user-infra.adoc
1010
// * installing/installing_gcp/installing-restricted-networks-gcp.adoc
11+
// * installing/installing_gcp/installing-restricted-networks-gcp-installer-provisioned.adoc
1112
// * installing/installing_bare_metal/installing-bare-metal.adoc
1213
// * installing/installing_aws/installing-restricted-networks-aws.adoc
1314
// * installing/installing_bare_metal/installing-restricted-networks-bare-metal.adoc

0 commit comments

Comments
 (0)