-
Notifications
You must be signed in to change notification settings - Fork 76
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 ByoHost CR with the Host platform information #470
Comments
I think this is a good idea to be future-proof this way, but everything now is based on the assumption of the OS being an Ubuntu Linux. The current os-detection for the agent (which is a good reference for this task) assumes this only. What we can do for this task, is to follow the trend and do this for Ubuntu Linux for now. Later on, we can make a task/effort to have these interfaces for every logic for os detection. This way it would be a uniform and consistent change throughout the codebase.
We can have similar logic or even modularise this logic out of the installer to be reused in both the installer and during registration. What do you folks think? |
Hi @shubham14bajpai @sachin, I would suggest that we should at least target Linux-based Operating systems. I tried to look at how the |
Yes I was looking at the same as the runtime package provides us with the details very easily. I guess we don't need the interfaces right now as there is no talk on windows support. Will proceed with the above approach then. |
I’m not sure how relevant this will be for this infrastructure provider, but it might also be nice to implement https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20210310-opt-in-autoscaling-from-zero.md since the given node information can also be useful elsewhere. |
After #469, we need to add the host platform details while registering
ByoHost
CR in the Host-Agent.The text was updated successfully, but these errors were encountered: