Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add machine class to the Cluster API #22

Closed
rsdcastro opened this issue Apr 12, 2018 · 5 comments
Closed

Add machine class to the Cluster API #22

rsdcastro opened this issue Apr 12, 2018 · 5 comments
Assignees

Comments

@rsdcastro
Copy link

From @rsdcastro on January 29, 2018 22:0

This issue tracks discussion on adding machine class (as used/suggested in several API discussions) and any work required to make that happen if we decide to do it.

Copied from original issue: kubernetes-retired/kube-deploy#529

@rsdcastro
Copy link
Author

Assigning to @roberthbailey to drive discussion and decision.

@scheeles
Copy link

@roberthbailey I know there are several discussion about the machine class. Do we have documented why we need it.

@roberthbailey roberthbailey modified the milestones: stable-api, cluster-api-alpha-implementation Jul 18, 2018
@hardikdr
Copy link
Member

Couple of them I can recall are:

  • MachineClass should bring-in re-usability of machine-spec related details even across MachineSets/Deployments. This should help us in having a more sophisticated use of machine-controllers.

  • Once cluster-api gets stable enough, cluster-autoscaler community is expected to re-define the cloud interface to include only Machine/Cluster-api specifics and not maintain cloud-specific code in autoscaler-repository anymore. Currently, autoscaler relies on Node-objects and tags on ASGs[cloud specific machine-pools] to understand the available/used resources in Machines, which should then be replaced by MachineClasses- which is also the ask from them.

  • Having only in-line MachienSpec could also create concerns around maintaining consistency of spec-details across all the layers of MachineDeployment/MachineSet/Machines and incase in future we decide to propogate part of those details in cluster-spec.

  • There was also discussion around thinking about alternatives from only SSH based approach inside Machine-controller, where we may see multiple machine-controller-implementations per cloud-provider, one of which could be via cloud-init script or generic-shell-script. Injecting that script via MachineClass.ConfigMap/Secret looks nicer than having it in MachineSpec.ProviderConfig.

One of the concern was though,

  • What really happens when MachineClass modifies?
    Ideally it could be immutable[not sure how in CRDs], but then we might be little defensive and expect only newer machines to read the modified MachineClass and behave accordingly.
    Aggressive approach could be to trigger the rolling-update then, which I believe should be configurable.

I think this thread is more about enabling both the facilities of in-line providerConfig and MachineClasses, and let user decide whichever fits best to her. I hope I have not misunderstood any points please correct otherwise.

@scheeles

@roberthbailey
Copy link
Contributor

/close

Fixed by #488

@k8s-ci-robot
Copy link
Contributor

@roberthbailey: Closing this issue.

In response to this:

/close

Fixed by #488

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@roberthbailey roberthbailey modified the milestones: cluster-api-alpha-implementation, stable-api Nov 28, 2018
chuckha pushed a commit to chuckha/cluster-api that referenced this issue Oct 2, 2019
anusha94 pushed a commit to anusha94/cluster-api that referenced this issue Jun 29, 2021
…ate-instructions

Update instructions file to run POC
chrischdi referenced this issue in chrischdi/cluster-api Apr 8, 2022
Signed-off-by: killianmuldoon <[email protected]>

Co-authored-by: killianmuldoon <[email protected]>
dlipovetsky added a commit to dlipovetsky/cluster-api that referenced this issue Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants