Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Add install-concept.md - #3

Merged
joshmue merged 6 commits into
mainfrom
joshmue-patch-1
Feb 1, 2024
Merged

joshmue merged 6 commits into
mainfrom
joshmue-patch-1

Conversation

@joshmue

@joshmue joshmue commented Dec 6, 2023

Copy link
Copy Markdown
Contributor

First draft of documentation discussed in the last SIG meeting (minutes).

Signed-off-by: Joshua Mühlfort <[email protected]>
Signed-off-by: Joshua Mühlfort <[email protected]>
@joshmue

joshmue commented Dec 6, 2023

Copy link
Copy Markdown
Contributor Author

@artificial-intelligence @scoopex @janiskemper

Please feel free to give feedback regarding expressiveness and the general direction.

@artificial-intelligence artificial-intelligence left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread install-concept.md Resolved
joshmue and others added 2 commits December 8, 2023 15:43
Co-authored-by: Sven <[email protected]>
Signed-off-by: Joshua Mühlfort <[email protected]>
@scoopex

scoopex commented Dec 8, 2023

Copy link
Copy Markdown

I will review this on monday :-)

@janiskemper janiskemper left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one improvement suggestion, another broader discussion that shouldn't be hidden!

Comment thread install-concept.md Outdated
A[CSP Bootstrap host with kind+CAPI] -->|Create| B(CSP CAPI mgmt cluster)
```

3. `clusterctl move` to new cluster, which should start managing itself

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 ;)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reworded this a bit and added multiple references to upstream docs. Do you think that improved the situation?

Comment thread install-concept.md
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)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 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

@joshmue joshmue Dec 11, 2023 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 API

You 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).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@joshmue

joshmue commented Dec 11, 2023

Copy link
Copy Markdown
Contributor Author

@artificial-intelligence:

For a proper release I think we should also add some rational why things are done this way, design considerations etc.

Definitely.

Not sure if we want to add this stuff already now or if it's fine to change this later.

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.

@bitkeks

bitkeks commented Feb 1, 2024

Copy link
Copy Markdown
Member

LGTM for first draft to get some workflow graphics going.

@janiskemper @joshmue should we follow up on your conversation in #3 (comment)?

@bitkeks
bitkeks self-requested a review February 1, 2024 08:23

@bitkeks bitkeks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for now, please continue the started conversation @janiskemper @joshmue

@joshmue
joshmue merged commit 2fda196 into main Feb 1, 2024
@joshmue
joshmue deleted the joshmue-patch-1 branch February 1, 2024 13:41
@joshmue

joshmue commented Feb 1, 2024

Copy link
Copy Markdown
Contributor Author

Working on a PR with design considerations and reasoning.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants