Feat/add cluster stacks remote api plugin #831
Feat/add cluster stacks remote api plugin #831tonifinger wants to merge 5 commits intofeat/add-cluster-stacks-pluginfrom
Conversation
|
To test it against the And the following command to unprovision a cluster: |
3b32e32 to
a967d90
Compare
PoC for the basic functionality and use of the moin cluster. Currently only supports one cluster.yaml. Signed-off-by: Toni Finger <toni.finger@cloudandheat.com>
500b3c8 to
267d88c
Compare
a72080e to
70f580c
Compare
Signed-off-by: michal.gubricky <michal.gubricky@dnation.cloud>
Signed-off-by: michal.gubricky <michal.gubricky@dnation.cloud>
Signed-off-by: michal.gubricky <michal.gubricky@dnation.cloud>
|
I've updated the implementation of the cluster stacks remote API plugin. The deletion and creation of workload clusters should work when the management cluster already has the necessary CAPI/CAPO resources, and the given namespace contains the required secret and ClusterResourceSet resource. |
|
DRAFT:
I did not get the provisioning process working it crashes with the following error: In the |
You must install |
Signed-off-by: Toni Finger <toni.finger@cloudandheat.com>
|
If envsubst becomes to much of a hurdle, we could replace it with a few lines of python ... |
The What needs to be changed, however, is the process of waiting for the k8s cluster to be ready. This is currently handled by waiting for resources that are not accessible to user accounts with minimal RBAC setup. To resolve this problem, I suggest that we only use information provided by the “Cluster” resource. |
mbuechse
left a comment
There was a problem hiding this comment.
I'm seeing three non-negligible problems here:
- it uses
sudo, which requires privileges and user interaction - it uses
clusterctl, which is documented nowhere - it uses
oidclogin, which requires user interaction
Fortunately, I think we will have none of these problems with Syself clusterstacks, because they provide a service account with headless login, and the kubeconfig can be retrieved using kubectl get secrets.
|
superseded by #916 |
This PR implement plugin for cluster-stacks-remote-api.
It provides a PoC for the basic functionality afor the usage of the moin cluster.
Currently supports only one
cluster.yaml.