-
Hi there, I'm using my own version of I walked through the code and find this logic. What should I do to update the Machine status manually or should I use a custom operator? Should I completely rewrite the Cluster API logic to my own or it is possible to extend it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @pparshin not sure how the linked reference is relevant, that's only trying to find the counter part nodes for existing machines. See EKS https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/main/controlplane/eks/api/v1alpha4/awsmanagedcontrolplane_types.go or hypershift as examples https://github.com/openshift/hypershift/blob/main/api/v1alpha1/hosted_controlplane.go If this does not answer your question please let's open an issue with your particular ask and keep the discussion there. Thanks! |
Beta Was this translation helpful? Give feedback.
Hey @pparshin not sure how the linked reference is relevant, that's only trying to find the counter part nodes for existing machines.
CAPI composability principles enables your use case by separating the control plane from compute for workloads. You can define and experiment with your own controlPlane as far some contract requirements are met via CR ref https://github.com/kubernetes-sigs/cluster-api/blob/main/api/v1beta1/cluster_types.go#L57.
See EKS https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/main/controlplane/eks/api/v1alpha4/awsmanagedcontrolplane_types.go or hypershift as examples https://github.com/openshift/hypershift/blob/main/api/v1alpha1/hosted_controlplane.go
…