Skip to content

Scaling machines with CAPH #1222

Answered by batistein
robertlemke asked this question in Q&A
Mar 22, 2024 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

Hello, the cluster-api is responsible for scaling machines. As a user, you interact with the machinedeployment or another high-level API Object (e.g cluster).
The machinedeployment then sizes the machineset. The machineset creates machine objects and then the machinecontroller uses the ProviderMachineTemplate to create ProviderMachine objects. The ProviderMachine objects (e.g. hcloudMachine) are then reconciled by caph.
I have never tried to scale a machine deployment using kubectl scale. In our product "Syself Autopilot", all the scaling is done by changing the cluster object as we use the clusterclass feature of capi for our Kubernetes platform.

I would suggest to directly edit the mach…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@batistein
Comment options

@robertlemke
Comment options

@batistein
Comment options

@Preisschild
Comment options

@robertlemke
Comment options

Answer selected by robertlemke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants