-
Notifications
You must be signed in to change notification settings - Fork 1.5k
GCP UPI: document how to install into a Shared VPC #3278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
/cc @patrickdillon |
abhinavdahiya
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment
5f9abe1 to
ce33cfb
Compare
|
This comment was intended for 3270. |
|
Experiencing an issue with ingress controller creating the default-route. That blocks Looks to be failing to add a worker to an instance-group as expected when Update: It appears the gce_loadbalancer_internal is ignoring the master IG because it contains the bootstrap node. As a result, it tries to put the master node in the new ingress IG. Then it fails to add the worker node because it is in a different subnet. Working on solution to move bootstrap node into its own IG. Update: It is resolved by #3309 |
f8143e9 to
464a381
Compare
|
/hold for e2e-gcp-upi |
|
/hold cancel |
|
/retest |
docs/user/gcp/install_upi.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| the installer will not be able to find the base domain zone in the host project. | |
| Create the `install-config.yaml` manually using the documentation references/examples. | |
| It must have `publish: Internal` to avoid the base domain verification when executing `create manifests` later in this workflow. | |
| Create the `install-config.yaml` manually using the documentation references/examples. | |
| It must have `publish: Internal` because the installer will not be able to find the public DNS zone for the the base domain in the host project, which is required for the External clusters. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ptal 67658b5fca0aeaa92b80e428086fdd30037dfc9d
docs/user/gcp/install_upi.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, i don't think removing is a solution that the ingress team will like, this probably needs to update the object correctly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file only exists when publish: Internal. It is not clear what it should look like, if at all, when publish: External
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated with f512a3c to only modify the file from Internal to External
docs/user/gcp/install_upi.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
afaik, the kube-controller-manger (gcp) emits events for the firewall rules that need to be created for each load balancer service.
so i think we should make it clear that the example here is opening up everything when technically they should be using those events to create specific ones. an example of what the event looks like and how to do that would be useful here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll make it clear this is opening everything up. I'm not sure what the event looks like because I did not see them in my testing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reworked this section. PTAL 67658b5fca0aeaa92b80e428086fdd30037dfc9d
bd1ff87 to
6445a18
Compare
This change adds direction in the GCP UPI install document about how to install a cluster using a Shared VPC. Because the VPC, networks, subnets, and dns zones are in a different project (the host project), the installer has problems finding them while creating the Ignition files. Furthermore, some changes are required to the cloud-provider in order for the cluster to properly provision resources in the subnets. In addition, it is assumed the service account in the service project will likely not have sufficient permissions in the host project to perform all of the required tasks.
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@jstuever: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions 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. I understand the commands that are listed here. |
This change adds direction in the GCP UPI install document about how to
install a cluster using a Shared VPC. Because the VPC, networks,
subnets, and dns zones are in a different project (the host project),
the installer has problems finding them while creating the Ignition
files. Furthermore, some changes are required to the cloud-provider in
order for the cluster to properly provision resources in the subnets. In
addition, it is assumed the service account in the service project will
likely not have sufficient permissions in the host project to perform
all of the required tasks.
Depends on: #2574, #3270, #3309