Behaviour of CAPI KamajiControlPlane provider when no infrastructure is used #174
Unanswered
joseluisgonzalezca
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Managing worker nodes still requires an Infrastructure Cluster, AFAIK. Have you already picked up an infrastructure provider for worker nodes? According to your needs, Cluster API could be too much of overhead since it's designed to manage the entire lifecycle of a cluster. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone!
As I stated in this discussion, #88 (reply in thread), I’m trying to understand how CAPI works and the building blocks that compose it while using Kamaji provider.
My idea is to use the CAPI operator to create a Kamaji control plane. I’m going to leave the infrastructure part empty because I want to manage the workers independently.
In my management cluster, I installed the CAPI operator using Helm and then installed the provider using this YAML manifest:
It’s important to highlight the fact that I used the feature gate to be able to deploy the control plane without the obligation to specify an infrastructure provider (see PR #147). Once that part is working correctly, I created a
Cluster
resource that uses aKamajiControlPlane
resource as a reference for the control plane. Here’s the example manifest:As far as I understand, once the KamajiControlPlane is deployed,
Cluster
resource should be marked as Provisioned because no infra is required. However, it's stuck at Provisioning state because of this:As the feature gate is enabled,
Cluster
resource is not patched accordingly and this error is received. If I configurecontrolPlaneEndpoint
param in theCluster
resource instead of in theKamajiControlPlane
resource,Cluster
state is updated correctly toProvisioned
.After seeing that, I don't see benefit of PR #137. What problem does solve including
spec.controlPlaneEndpoint
parameter inKamajiControlPlane
resource?Sorry for my ignorance. I just started learning about CAPI and some of the concepts are a little bit confusing for me.
Thanks for your help and time!
Beta Was this translation helpful? Give feedback.
All reactions