-
Notifications
You must be signed in to change notification settings - Fork 452
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
OCPCLOUD-1910: Installing Cluster API components in OpenShift #1461
Conversation
@damdo: This pull request references OCPCLOUD-1910 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. |
7cf5994
to
f073388
Compare
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.
Have left a few comments throughout and I like the direction this is going, simplifying the process is great.
However, I'm struggling right now to grasp what the end result is. This document outlines the changes that we want to make, but doesn't give me a comprehensive detail on what the end flow for a provider is, which I think would be really helpful. I would probably expect the main focus of the doc to be the end goal with the changes as additional context.
I think it would help if we had something that goes into the detail of:
- Provider creates repository in payload
- Provider runs
manifest-gen
which does XYZ (creates a configmap with a specific annotation?) - Provider includes
manifest-gen
output in image - Operator reads configmaps based on ... (format and specific detail missing from this right now)
- Operator selects correct platform and applies correct configmaps (I'm not sure this is even correct, how does it know from a configmap which platform the manifest should be applied onto?)
I suspect there's also a bunch of annotation based APIs going into this, these contracts should be defined here too
@damdo: This pull request references OCPCLOUD-1910 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. |
c17a94f
to
a701d8e
Compare
Re the CRDs discussion: it occurred to me that we could simply include the CRDs with the other infrastructure-components we're putting in the provider ConfigMap, which is how upstream CAPI providers do this. However, upstream also includes RBAC rules in the same bundle. We could also include the RBAC rules, but that would require us to give cluster-capi-operator sufficient privileges to deploy them, which I think may be frowned upon. |
I think this is good resource for a conversation with OTA, "please handle platform specific manifests so we don't have to have RBAC to deploy all the things (CRDs and other RBAC)" |
enhancements/cluster-api/installing-cluster-api-components-in-ocp.md
Outdated
Show resolved
Hide resolved
enhancements/cluster-api/installing-cluster-api-components-in-ocp.md
Outdated
Show resolved
Hide resolved
enhancements/cluster-api/installing-cluster-api-components-in-ocp.md
Outdated
Show resolved
Hide resolved
Also cc. @sdodson just an FYI on the design we are doing here. |
I think I'm happy enough with this now, is there any major outstanding feedback to be addressed? |
@JoelSpeed Is this still an outstanding point of discussion or is there agreement that |
I think we have landed on, We believe in the future there will be a want from users to be able to install more than one provider. To do that, we either need to teach CVO how to apply for multiple platforms, or, handle this ourselves. We expect if this is as we think, and folk will want to be able to bootstrap openshift clusters on various platforms, from a single management cluster, it makes more sense to just keep that within the |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sdodson 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 |
@damdo: This pull request references OCPCLOUD-1910 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the spike to target the "4.15.0" version, but no target version was set. 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. |
d4698e8
to
ad4a07f
Compare
ad4a07f
to
1031235
Compare
@damdo: 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. |
This enhancement describes how we (the Cluster Infrastructure team) intend to rework the current flow for the Installation of Cluster API components in OpenShift, at the moment only available in Tech Preview, by addressing some of the criticalities of the current implementation, leveraging some of the lessons learned since the first Tech Preview release.
The focus areas of this refactor are mainly around reducing complexity of the architecture and improving the development, stability and maintainability of Standalone Cluster API on OpenShift by preventing payload breakage due to non atomic repository merges, while maintaining the functionality provided up until now.