|
| 1 | +// Module included in the following assemblies: |
| 2 | +// |
| 3 | +// * installing/installing_gcp/installing-gcp-account.adoc |
| 4 | + |
| 5 | +[id="installation-gcp-dns_{context}"] |
| 6 | += Configuring DNS for GCP |
| 7 | + |
| 8 | +To install {product-title}, the Google Cloud Platform (GCP) account you use must |
| 9 | +have a dedicated public hosted zone in the same project that you host the |
| 10 | +{product-title} cluster. This zone must be authoritative for the domain. The |
| 11 | +DNS service provides cluster DNS resolution and name lookup for external |
| 12 | +connections to the cluster. |
| 13 | + |
| 14 | +.Procedure |
| 15 | + |
| 16 | +. Create a project to host your {product-title} cluster. See |
| 17 | +link:https://cloud.google.com/resource-manager/docs/creating-managing-projects[Creating and Managing Projects] |
| 18 | +in the GCP documentation. |
| 19 | + |
| 20 | +. Identify your domain, or subdomain, and registrar. You can transfer an existing domain and |
| 21 | +registrar or obtain a new one through GCP or another source. |
| 22 | ++ |
| 23 | +[NOTE] |
| 24 | +==== |
| 25 | +If you purchase a new domain, it can take time for the relevant DNS |
| 26 | +changes to propagate. For more information about purchasing domains |
| 27 | +through Google, see link:https://domains.google/[Google Domains]. |
| 28 | +==== |
| 29 | + |
| 30 | +. Create a public hosted zone for your domain or subdomain. See |
| 31 | +link:https://cloud.google.com/dns/zones/#creating_public_zones[Creating public zones] |
| 32 | +in the GCP documentation. |
| 33 | ++ |
| 34 | +Use an appropriate root domain, such as `openshiftcorp.com`, or subdomain, |
| 35 | +such as `clusters.openshiftcorp.com`. |
| 36 | + |
| 37 | +. Extract the new authoritative name servers from the hosted zone records. See |
| 38 | +link:https://cloud.google.com/dns/docs/update-name-servers#look_up_your_name_servers[Look up your Cloud DNS name servers] |
| 39 | +in the GCP documentation. |
| 40 | ++ |
| 41 | +You typically have four name servers. |
| 42 | + |
| 43 | +. Update the registrar records for the name servers that your domain |
| 44 | +uses. For example, if you registered your domain to Google Domains, see the |
| 45 | +following topic in the Google Domains Help: |
| 46 | +link:https://support.google.com/domains/answer/3290309?hl=en[How to switch to custom name servers]. |
| 47 | + |
| 48 | +. If you use a subdomain, follow your company's procedures to add its delegation |
| 49 | +records to the parent domain. |
0 commit comments