openshift-docs
openshift-docs copied to clipboard
OSDOCS-3940 Enabling GCP Shared VPC IPI installation
Enabling GCP Shared VPC installation with installer-provisioned infrastructure.
https://issues.redhat.com/browse/CORS-1774
4.12
🤖 Updated build preview is available at: https://51171--docspreview.netlify.app
Build log: https://circleci.com/gh/ocpdocs-previewbot/openshift-docs/3420
@jianli-wei Hello Jianli, PTAL at this documentation for GCP IPI installation on shared VPC. Thank you
/lgtm
@bscott-rh "Table 4. Additional GCP parameters" doesn't list the new parameters introduced by this epic, better to add them. Thanks!
@bscott-rh "Table 4. Additional GCP parameters" doesn't list the new parameters introduced by this epic, better to add them. Thanks!
I am intending to create a separate PR to add the new parameters to the installation parameters table alongside https://github.com/openshift/openshift-docs/pull/50178. Could you let me know if the rest of the content in this PR looks good?
Could you let me know if the rest of the content in this PR looks good?
@bscott-rh Please see my 3 comments above, thanks!
@bscott-rh @jstuever I tested with below config (i.e. no platform.gcp.publicDNSZone or platform.gcp.privateDNSZone settings specified), and found out that one more permission, dns.networks.bindPrivateDNSZone, would be necessary in the host project. Suggest to tell the info in the doc, thanks!
gcp:
projectID: openshift-qe
region: us-central1
computeSubnet: installer-shared-vpc-subnet-2
controlPlaneSubnet: installer-shared-vpc-subnet-1
createFirewallRules: Enabled
network: installer-shared-vpc
networkProjectID: openshift-qe-shared-vpc
Could you let me know if the rest of the content in this PR looks good?
@bscott-rh Please see my 3 comments above, thanks!
Which 3 comments are you referring to? I only see one comment about the config parameters in Table 4, and the updated permissions for private DNS zones. Thank you
Which 3 comments are you referring to?
@bscott-rh I'm very sorry, I'd thought I'd submitted the comments but they turn out in Pending. Just submit them along with adding few new comments, PTAL, thanks!
@bscott-rh @jstuever I tested with below config (i.e. no
platform.gcp.publicDNSZoneorplatform.gcp.privateDNSZonesettings specified), and found out that one more permission,dns.networks.bindPrivateDNSZone, would be necessary in the host project. Suggest to tell the info in the doc, thanks!gcp: projectID: openshift-qe region: us-central1 computeSubnet: installer-shared-vpc-subnet-2 controlPlaneSubnet: installer-shared-vpc-subnet-1 createFirewallRules: Enabled network: installer-shared-vpc networkProjectID: openshift-qe-shared-vpc
If the dns zone(s) exist in the host project, then the user needs to set the publicDNSZone and/or privateDNSZone accordingly. If these are not set, then the dns zone is expected to exist in the service project, and there should be no need for additional permissions in the host project.
I removed the privateDNSZone parameters from the sample yaml file, and updated the annotations to describe the requirements a bit better.
@jianli-wei hello Jianli, can you let me know if these last round of changes look good to you? Thank you
@bscott-rh @jstuever
- When
createFirewallRulesis "Enabled", and the google cloud credential doesn't haveroles/dns.adminin the host project, it should at least havedns.networks.bindPrivateDNSZonepermission in the host project. - If
crednetialsModecan also be "Manual", after creating install-config.yaml and beforecreate cluster, additional steps on creating manifests and then the credentials would be needed. - I'm not sure why
privateDNSZoneparameters were removed from the sample install-config.yaml. According to the two 4.12 epics CORS-1774 and CORS-2211, bothprivateDNSZoneandpublicDNSZonewould be supported by 4.12, but in the service project only (see CORS-2368).
/cc
@jianli-wei @bscott-rh
1. If crednetialsMode can also be "Manual", after creating install-config.yaml and before create cluster, additional steps on creating manifests and then the credentials would be needed.
This is true, but the configuration is not covered by this enhancement. The manual mode is mentioned in the openshift docs and the setup should follow any steps there.
2. I'm not sure why privateDNSZone parameters were removed from the sample install-config.yaml. According to the two 4.12 epics [CORS-1774](https://issues.redhat.com/browse/CORS-1774) and [CORS-2211](https://issues.redhat.com/browse/CORS-2211), both privateDNSZone and publicDNSZone would be supported by 4.12, but in the service project only (see [CORS-2368](https://issues.redhat.com/browse/CORS-2368)).
privateDNSZone is a small percentage case (jeremiah estimated about 5-10% at most). The example does not include this so that the impression is not given that privateDNSZone is required or often used. We could mention that it is available, but this should seldom be utilized.
/label peer-review-needed
some questions/comments for your consideration. It looks great.
@bscott-rh this functionality will be tech preview for 4.12. Can we add some sort of messaging to that effect?
@bscott-rh this functionality will be tech preview for 4.12. Can we add some sort of messaging to that effect?
@patrickdillon Thanks for the reminder - I've added our tech preview snippet to the end of the abstract. The preview should be updated in 10 minutes or so.
@jianli-wei @bscott-rh
1. If crednetialsMode can also be "Manual", after creating install-config.yaml and before create cluster, additional steps on creating manifests and then the credentials would be needed.This is true, but the configuration is not covered by this enhancement. The manual mode is mentioned in the openshift docs and the setup should follow any steps there.
2. I'm not sure why privateDNSZone parameters were removed from the sample install-config.yaml. According to the two 4.12 epics [CORS-1774](https://issues.redhat.com/browse/CORS-1774) and [CORS-2211](https://issues.redhat.com/browse/CORS-2211), both privateDNSZone and publicDNSZone would be supported by 4.12, but in the service project only (see [CORS-2368](https://issues.redhat.com/browse/CORS-2368)).privateDNSZone is a small percentage case (jeremiah estimated about 5-10% at most). The example does not include this so that the impression is not given that privateDNSZone is required or often used. We could mention that it is available, but this should seldom be utilized.
@jianli-wei are there any other comments that you have on this PR or are we good to move forward? Thank you
@jianli-wei I've updated the PR with your suggestions, thanks. PTAL and I will update the credentials mode annotation once I have Patrick's feedback.
@jianli-wei I've updated the PR with your suggestions, thanks. PTAL and I will update the credentials mode annotation once I have Patrick's feedback.
/lgtm
New changes are detected. LGTM label has been removed.
/label peer-review-needed
Dearest reviewers, this PR has already gone through one round of peer review, but I made several changes through QE/SME review. Please take a second look before I request merge review. Table 4 in the installation configuration parameters is extra wide due to some very long parameter names, but there isn't much we can do about that right now. Thank you
/label merge-review-needed
/cherrypick enterprise-4.12
@jeana-redhat: new pull request created: #52732
In response to this:
/cherrypick enterprise-4.12
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.