From d220e062cd169257a7ea4410b51d8dfd63d45a3c Mon Sep 17 00:00:00 2001 From: Alberto Diaz Date: Thu, 16 Feb 2023 11:21:41 -0500 Subject: [PATCH] OSDOCS-3325 added GCP information to OSD docs --- modules/ccs-gcp-provisioned.adoc | 73 ++++++++++++++++++++++++++++++++ osd_planning/gcp-ccs.adoc | 1 + 2 files changed, 74 insertions(+) create mode 100644 modules/ccs-gcp-provisioned.adoc diff --git a/modules/ccs-gcp-provisioned.adoc b/modules/ccs-gcp-provisioned.adoc new file mode 100644 index 0000000000..9988921dbb --- /dev/null +++ b/modules/ccs-gcp-provisioned.adoc @@ -0,0 +1,73 @@ +// Module included in the following assemblies: +// +// * osd_planning/gcp-ccs.adoc + +[id="ccs-gcp-provisioned_{context}"] += Provisioned GCP Infrastructure + +This is an overview of the provisioned Google Cloud Platform (GCP) components on a deployed {product-title} cluster. For a more detailed listing of all provisioned GCP components, see the link:https://access.redhat.com/documentation/en-us/openshift_container_platform/[{OCP} documentation]. + +[id="gcp-policy-instances_{context}"] +== Compute instances + +GCP compute instances are required to deploy the control plane and data plane functions of {product-title} in GCP. Instance types might vary for control plane and infrastructure nodes depending on worker node count. + +* Single availability zone +** 2 infra nodes (custom machine type: 4 vCPU and 32 GB RAM) +** 3 control plane nodes (custom machine type: 8 vCPU and 32 GB RAM) +** 2 worker nodes (custom machine type: 4 vCPU and 16 GB RAM) +* Multiple availability zones +** 3 infra nodes (custom machine type: 4 vCPU and 32 GB RAM) +** 3 control plane nodes (custom machine type: 8 vCPU and 32 GB RAM) +** 3 worker nodes (custom machine type: 4 vCPU and 16 GB RAM) + + +[id="gcp-policy-storage_{context}"] +== Storage + +* Infrastructure volumes: +** 128 GB SSD persistent disk (deleted on instance deletion) +** 110 GB Standard persistent disk (kept on instance deletion) +* Worker volumes: +** 128 GB SSD persistent disk (deleted on instance deletion) +* Control plane volumes: +** 128 GB SSD persistent disk (deleted on instance deletion) + +[id="gcp-policy-vpc_{context}"] +== VPC + +* **Subnets:** One master subnet for the control plane workloads and one worker subnet for all others. +* **Router tables:** One global route table per VPC. +* **Internet gateways:** One internet gateway per cluster. +* **NAT gateways:** One master NAT gateway and one worker NAT gateway per cluster. + +[id="gcp-policy-services_{context}"] +== Services + +The following services must be enabled on a GCP CCS cluster: + +* `Deploymentmanager` +* `Compute` +* `Cloudapis` +* `Cloudresourcemanager` +* `DNS` +* `Iamcredentials` +* `IAM` +* `Servicemanagement` +* `Serviceusage` +* `Storage-api` +* `Storage-component` + +[id="gcp-policy-permissions_{context}"] +== Permissions + +The following roles must be added to the support service account: + +* `Compute.admin` +* `Dns.admin` +* `orgpolicy.policyViewer` +* `Owner` +* `resourcemanager.projectIamAdmin` +* `Servicemanagement.admin` +* `serviceusage.serviceUsageAdmin` +* `storage.admin` diff --git a/osd_planning/gcp-ccs.adoc b/osd_planning/gcp-ccs.adoc index 93eaf1637f..e97e32f874 100644 --- a/osd_planning/gcp-ccs.adoc +++ b/osd_planning/gcp-ccs.adoc @@ -15,4 +15,5 @@ include::modules/ccs-gcp-understand.adoc[leveloffset=+1] include::modules/ccs-gcp-customer-requirements.adoc[leveloffset=+1] include::modules/ccs-gcp-customer-procedure.adoc[leveloffset=+1] include::modules/ccs-gcp-iam.adoc[leveloffset=+1] +include::modules/ccs-gcp-provisioned.adoc[leveloffset=+1] include::modules/gcp-limits.adoc[leveloffset=+1]