-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OSDOCS#4348: Installing an IBM Cloud VPC cluster in restricted env #55526
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
@mjpytlak: This pull request references OSDOCS-4348 which is a valid jira issue. In response to this:
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. |
@mjpytlak: This pull request references OSDOCS-4348 which is a valid jira issue. In response to this:
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. |
🤖 Mon Feb 05 21:08:48 - Prow CI generated the docs preview: https://55526--ocpdocs-pr.netlify.app |
@mjpytlak: No Jira issue is referenced in the title of this pull request. In response to this:
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. |
@MayXuQQ @jeffnowicki Ready for SME and QE review. PTAL. Thanks in advance. |
@mjpytlak now the test blocked by OCPBUGS-2363 |
cf0a019
to
350ef0b
Compare
ad1cae8
to
ec6f257
Compare
The This is because your PR targets the If the update in your PR does NOT apply to version 4.14 onward, please re-target this PR to go directly into the appropriate version branch or branches (enterprise-4.x) instead of main. |
7d463d6
to
80b0b2c
Compare
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
@jianlinliu IBM Cloud private service endpoints (regardless of region) resolve to the same private internal network. So regardless of region you are deploying your cluster, you can pick any available private service endpoint. Selecting one in same (if available) or nearest geographic location would be preferable to minimize network latency. I'm uncertain at the moment, why your test failed. |
@cjschaef and I will re-evaluate services and their private service endpoints and whether there are some that have region-based restrictions. |
@jeffnowicki @mjpytlak I think VPEs are supposed to be not regionally bound, but sounds there is some limit from IBMCloud provider. Let me take an example to make it be clear. Assuming a user is installing a disconnected cluster in |
3283f74
to
3c01958
Compare
@jianlinliu - @jeffnowicki and I had a chance to connect on our guidance around service endpoints. And after he and Chris discussed it more, Jeff requested that the latest updates be made. You can find them here [1] [1] 3c01958 |
@jianlinliu IBM Cloud is migrating off of "Cloud (aka classic) Service Endpoints" to "Virtual Private Endpoints". While CSE private endpoints are not necessarily regionally bound, VPE private endpoints are. With that being the case, a disconnected/restricted network installation will be constrained to those those regions that have VPE enablement for all required services. The current enabled regions are noted in the doc update @mjpytlak made. Over time, more regions will be enabled. |
+ | ||
You cannot use the VPC that the installation program provisions by default. | ||
* If you plan on configuring endpoint gateways to use {ibm-cloud-name} Virtual Private Endpoints, consider the following requirements: | ||
** Endpoint gateway support is currently limited to the `us-east`, `us-south`, and `eu-de` regions. |
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.
@mjpytlak @jeffnowicki can you confirm eu-de
region here? When I am installing a disconnected cluster in eu-de
region, then overriding ResourceController
serviceEndpoints to https://private.resource-controller.cloud.ibm.com/
, but I did not find a endpoint gateway targeted to ``private.resource-controller.cloud.ibm.comin the output of
ibmcloud is endpoint-gateway-targets --output JSON` against `eu-de` region.
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.
can you confirm
eu-de
region here? When I am installing a disconnected cluster ineu-de
region, then overridingResourceController
serviceEndpoints tohttps://private.resource-controller.cloud.ibm.com/
, but I did not find a endpoint gateway targeted to ``private.resource-controller.cloud.ibm.comin the output of
ibmcloud is endpoint-gateway-targets --output JSON` against `eu-de` region.
@jianlinliu you are correct, I confirmed that is the one service in eu-de
that's missing a private endpoint and would be needed for a "fully disconnected" cluster installation.
@mjpytlak - please remove mention of eu-de
from that section of the docs.
fyi @cjschaef
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.
please remove mention of
eu-de
from that section of the docs.
Removed. Thank you.
874569b
to
300326c
Compare
Followup approval and based on recent changes due to service endpoint (private) restrictions across regions.
|
/lgtm |
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.
Left a few nits and suggestions, otherwise LGTM.
/remove-label peer-review-in-progress
/remove-label peer-review-needed
/label peer-review-done
ifeval::["{context}" == "installing-ibm-cloud-restricted"] | ||
:ibm-cloud: | ||
endif::[] |
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.
ifeval::["{context}" == "installing-ibm-cloud-restricted"] | |
:ibm-cloud: | |
endif::[] | |
ifeval::["{context}" == "installing-ibm-cloud-restricted"] | |
:ibm-cloud: | |
:ipi: | |
endif::[] |
Can remove lines 47-49 by putting both conditions in this ifeval
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.
Agreed good catch.
|
||
You complete the installation using a bastion host or portable device that can access both the internet and your closed network. You must use a host with internet access to: | ||
|
||
* Download the installation program, the the OpenShift CLI (`oc`), and the CCO utility (`ccoctl`). |
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.
* Download the installation program, the the OpenShift CLI (`oc`), and the CCO utility (`ccoctl`). | |
* Download the installation program, the OpenShift CLI (`oc`), and the CCO utility (`ccoctl`). |
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.
Per the usual, eagle eye.
|
||
[NOTE] | ||
==== | ||
If you are specifying an {ibm-name} Key Protect for {ibm-cloud-name} root key as part of the installation process, the service endpoint for Key Protect is also a required. |
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.
If you are specifying an {ibm-name} Key Protect for {ibm-cloud-name} root key as part of the installation process, the service endpoint for Key Protect is also a required. | |
If you are specifying an {ibm-name} Key Protect for {ibm-cloud-name} root key as part of the installation process, the service endpoint for Key Protect is also required. |
If you are specifying an {ibm-name} Key Protect for {ibm-cloud-name} root key as part of the installation process, the service endpoint for Key Protect is also a required. | ||
==== | ||
|
||
By default, the public endpoint is used to access the service. If network restrictions limit access to public service endpoints, you can override the default behavior. |
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.
Do we need to explain how/where to find docs on how to override the default behavior?
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.
Not sure I follow. The very next paragraph states that you update install-config.yaml
with the URI of an alternate service endpoint.
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.
You're right! I left this review comment before I got to the next section
ifeval::["{context}" == "installing-ibm-cloud-restricted"] | ||
:!ibm-cloud: | ||
endif::[] |
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.
ifeval::["{context}" == "installing-ibm-cloud-restricted"] | |
:!ibm-cloud: | |
endif::[] | |
ifeval::["{context}" == "installing-ibm-cloud-restricted"] | |
:!ibm-cloud: | |
:!ipi: | |
endif::[] |
Can combine these conditionals and remove lines 169-171.
|
||
.Prerequisites | ||
|
||
* You have installed the {ibm-cloud-name} Command Line Interface (`ibmcloud`). |
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.
* You have installed the {ibm-cloud-name} Command Line Interface (`ibmcloud`). | |
* You have installed the {ibm-cloud-name} Command Line Interface utility (`ibmcloud`). |
I'm not sure if this is new content in this PR or reused from other areas.
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.
Net new. I updated it. Thanks.
[id="installation-ibm-cloud-download-rhcos_{context}"] | ||
= Downloading the RHCOS cluster image | ||
|
||
The installation program requires the {op-system-first} image to install the cluster. While optional, downloading the {op-system-first} before deploying, removes the need for internet access when creating the cluster. |
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 installation program requires the {op-system-first} image to install the cluster. While optional, downloading the {op-system-first} before deploying, removes the need for internet access when creating the cluster. | |
The installation program requires the {op-system-first} image to install the cluster. While optional, downloading the {op-system-first} before deploying removes the need for internet access when creating the cluster. |
+ | ||
[NOTE] | ||
==== | ||
If you choose to leave the default value of `External`, your network must be able to access the public endpoint for {ibm-cloud-name} Internet Services (CIS). CIS is not enabled for Virtual Private Endpoints. |
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.
If you choose to leave the default value of `External`, your network must be able to access the public endpoint for {ibm-cloud-name} Internet Services (CIS). CIS is not enabled for Virtual Private Endpoints. | |
If you use the default value of `External`, your network must be able to access the public endpoint for {ibm-cloud-name} Internet Services (CIS). CIS is not enabled for Virtual Private Endpoints. |
minimalism nit
@@ -548,6 +558,18 @@ vpcSubnets: <vpcSubnet> | |||
+ | |||
For `platform.powervs.vpcName`, specify the name for the existing {ibm-cloud-name}. For `platform.powervs.vpcSubnets`, specify the existing subnets. | |||
endif::ibm-power-vs+restricted[] | |||
ifdef::ibm-cloud+restricted[] | |||
.. Define the network and subnets for the VPC to install the cluster in under the parent `platform.ibmcloud` field: |
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.
.. Define the network and subnets for the VPC to install the cluster in under the parent `platform.ibmcloud` field: | |
.. Define the VPC network and subnets for the cluster to use under the parent `platform.ibmcloud` field: |
Tried rewording this because "in under" felt awkward.
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.
Yeah. This is language that is used for every restricted installation assembly. I agree it reads a little awkward, but I am not sure if your suggestion changes the technical accuracy. I am inclined to leave this one alone.
+ | ||
[NOTE] | ||
==== | ||
If you choose to leave the default value of `External`, your network must be able to access the public endpoint for {ibm-cloud-name} Internet Services (CIS). CIS is not enabled for Virtual Private Endpoints. |
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.
If you choose to leave the default value of `External`, your network must be able to access the public endpoint for {ibm-cloud-name} Internet Services (CIS). CIS is not enabled for Virtual Private Endpoints. | |
If you use the default value of `External`, your network must be able to access the public endpoint for {ibm-cloud-name} Internet Services (CIS). CIS is not enabled for Virtual Private Endpoints. |
minimalism nit
New changes are detected. LGTM label has been removed. |
@mjpytlak: all tests passed! Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
/cherrypick enterprise-4.15 |
@mjpytlak: new pull request created: #71227 In response to this:
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. |
Version(s):
4.15+
Issue:
This issue addresses osdocs-4348.
Link to docs preview:
Installing a cluster on IBM Cloud VPC in a restricted network
A significant amount of the content in this topic is reused from existing approved IBM Cloud VPC doc. The following preview links are for areas where notable new content was added in support of a restricted installation:
QE review: