-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Step addition: Pre-create CCM feature gate during cluster install #19366
Step addition: Pre-create CCM feature gate during cluster install #19366
Conversation
Could you quickly explain how this is used? How is this different to the bootstrap step we already added? |
@JoelSpeed The one we have now is not a bootstrap step, it is a migration of a fully ready cluster to CCM. We will have a job which will reference this step before running openshift-install. ( Here is an example of similar step usage and a step definition |
I think that if we deploy a new cluster, then we don't have to enable CSI migration, because there are no previously created volumes. |
@Fedosin We do need it, as we want to run e2e tests on this cluster, and they include a lot of storage ones. CSI is a hard requirement for a cluster with CCM. |
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 generally makes sense to me, i am curious how it fits into a ci run though. @Danil-Grigorev do you have another pr to followup and include this in a bootstrap job?
@elmiko Here is a followup PR (WIP) which shows how it would be used: https://github.com/openshift/release/compare/master...Danil-Grigorev:aws-ccm-install?expand=1 The usage is shown here: https://github.com/Danil-Grigorev/release/blob/93cbce2d69048f47ce4d46e7c05f664b57efdbb8/ci-operator/step-registry/openshift/e2e/aws/ccm/install/openshift-e2e-aws-ccm-install-workflow.yaml#L6-L7 |
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.
thanks for the example @Danil-Grigorev , it helps me understand =)
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Danil-Grigorev, elmiko The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@Danil-Grigorev: Updated the
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. |
This step will allow to test functionality of CCM bootstrap, and install a cluster with pre-created feature gate. Such feature gate present in the cluster since the beginning of the cluster lifetime would allow TP cloud platforms to be installed, and prevent existing cloud providers (such as AWS, Azure, etc.) to ever use in-tree cloud-provider code.
Could be used after openshift/installer#4947 is merged.