Allow the kairos config to specify configuration for specific nodes #1980
jimmykarily
started this conversation in
Ideas
Replies: 2 comments
-
My yip skills are subpar so I'm not sure if what I will say makes sense, but couldn't we already do that by using an
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Maybe it can be fixed with this: #1983 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using edgevpn, it's possible to have a fully automated HA installation of a Kairos cluster. The alternative is described here: https://kairos.io/docs/examples/ha/ and it requires a different kairos config per node. It would be possible and maybe better if the kairos-config could include the configuration for more than one node, by allowing each node to select their own section. E.g.
where mynode and mynode2 would be either hostnames or ip addresses or something else that would allow each node to figure out which configuration applies to them. The rest of the config would stay the same. I'm just suggesting that we can introduce an additional section that will only be merged with the rest of the config using something unique to each host. It should be easy to implement and would allow us to have one config file for the whole cluster, even if specific to those nodes.
We could make the selection even smarter so that it's not hardcoded. E.g. instead of a key like mynode we could have a heuristic like:
(pseudo code)
This way, one could use custom scripts and cloud provider configuration to decide which nodes are masters and which workers. But that can be done later
Beta Was this translation helpful? Give feedback.
All reactions