Repository navigation
Add install-concept.md - #3
Conversation
Signed-off-by: Joshua Mühlfort <[email protected]>
Signed-off-by: Joshua Mühlfort <[email protected]>
|
@artificial-intelligence @scoopex @janiskemper Please feel free to give feedback regarding expressiveness and the general direction. |
artificial-intelligence
left a comment
There was a problem hiding this comment.
In general I like these docs for a poc.
For a proper release I think we should also add some rational why things are done this way, design considerations etc.
Not sure if we want to add this stuff already now or if it's fine to change this later.
Co-authored-by: Sven <[email protected]> Signed-off-by: Joshua Mühlfort <[email protected]>
Signed-off-by: Joshua Mühlfort <[email protected]>
|
I will review this on monday :-) |
janiskemper
left a comment
There was a problem hiding this comment.
one improvement suggestion, another broader discussion that shouldn't be hidden!
| A[CSP Bootstrap host with kind+CAPI] -->|Create| B(CSP CAPI mgmt cluster) | ||
| ``` | ||
|
|
||
| 3. `clusterctl move` to new cluster, which should start managing itself |
There was a problem hiding this comment.
From CAPI perspective you create a bootstrap cluster with kind, then a workload cluster (i.e. a proper Kubernetes cluster) and then move the management components from the bootstrap cluster in there. I feel like the current state is a bit misleading in this regard ;)
There was a problem hiding this comment.
Reworded this a bit and added multiple references to upstream docs. Do you think that improved the situation?
| B(CSP CAPI mgmt cluster) -->|Manage| B | ||
| ``` | ||
|
|
||
| 5. Use CAPI mgmt cluster to create central-api cluster (in e. g. CSP hidden Openstack project using application credentials) |
There was a problem hiding this comment.
Here we talked about the following two options:
- use the CAPI management cluster for the central api as well
- create a separate cluster for central API
You described the second option. It has the drawback, that parts of the central API are related to the Kubenretes management itself, right? And this is then in another cluster (the CAPI management cluster), separated from the IaaS management
There was a problem hiding this comment.
Here we talked about the following two options:
1. use the CAPI management cluster for the central api as well 2. create a separate cluster for central APIYou described the second option.
Yes.
It has the drawback, that parts of the central API are related to the Kubenretes management itself, right? And this is then in another cluster (the CAPI management cluster), separated from the IaaS management
I do not understand this one exactly. Could you elaborate?
Generally, CAPI components would be duplicated - but for completely different concerns: First, management of the central-api cluster (done completely by CSP's) and second, management of tenant clusters (used by tenants).
There was a problem hiding this comment.
okay, I'm not sure what you mean by having "CAPI components duplicated". The management components cannot be duplicated AFAIK in the sense that they run in multiple clusters, i.e. having multiple CAPI management clusters.
I understand though that you intend on having the cluster API management resources in a cluster that is accessible for users and the central API resources (e.g. for IaaS) in another cluster.
If we now consider the CAPI resources (and cluster stack resources) part of the wider central API scope, then we have two clusters with central API resources. That's what I meant ;)
If that is a design that is intended, it's okay! I just wanted to point out that Kubernetes-related resources would be then separated from IaaS-related resources of the Central API.
There was a problem hiding this comment.
okay, I'm not sure what you mean by having "CAPI components duplicated". The management components cannot be duplicated AFAIK in the sense that they run in multiple clusters, i.e. having multiple CAPI management clusters.
Not for managing the same set of clusters, AFAIU, yes 👍
I understand though that you intend on having the cluster API management resources in a cluster that is accessible for users and the central API resources (e.g. for IaaS) in another cluster.
...
If that is a design that is intended, it's okay! I just wanted to point out that Kubernetes-related resources would be then separated from IaaS-related resources of the Central API.
Not really; What do you mean with separation between CAPI resources and IaaS resources?
As it stands now, CAPI is (1) an implementation detail on how to provision the central-api cluster without leaking too much into the "workload" that is the central-api cluster and (2) CRD's+controller on the central-api cluster that are usable by users alongside any (Crossplane) IaaS/IAM/... CRD's+controllers residing on the same central-api cluster.
If we now consider the CAPI resources (and cluster stack resources) part of the wider central API scope, then we have two clusters with central API resources. That's what I meant ;)
Technically yes :D
Signed-off-by: Joshua Mühlfort <[email protected]>
Signed-off-by: Joshua Mühlfort <[email protected]>
Definitely.
This PR was meant to solely create a foundation for a common understanding of the to-be-implemented installation concept, so I'd create a distinct PR for some rational. |
|
LGTM for first draft to get some workflow graphics going. @janiskemper @joshmue should we follow up on your conversation in #3 (comment)? |
bitkeks
left a comment
There was a problem hiding this comment.
LGTM for now, please continue the started conversation @janiskemper @joshmue
|
Working on a PR with design considerations and reasoning. |
First draft of documentation discussed in the last SIG meeting (minutes).