cafebazaar / blacksmith-kubernetes Goto Github PK
View Code? Open in Web Editor NEWPainless baremetal Kubernetes cluster deployment using cafebazaar/blacksmith with minimum human intervention
Painless baremetal Kubernetes cluster deployment using cafebazaar/blacksmith with minimum human intervention
Why do we need this?
Hi,
I would like to understand the usage of this module, would you mind providing some little docs ?
Thank you.
Currently masters and workers don't have suitable way to be differentiated via label/selector system and as our masters are also schedule-able, a blind daemonset/rs/rc can schedules itself on master but this can be improved.
cp binaries/initial.yaml workspace/
In the current state, the name of the machine network interfaces are needed to be known for this to work, and what makes things even worse is that they all need to be the same since there is only one value supplied to the templates for this purpose.
The workers have to obey such naming convention too (see this). It is highly unlikely that the internal interface name of a new machine that is being added as a worker to the cluster is equal to the name of the internal interface of the previous (and possibly from a different vendor) workers (and even the masters).
And even with all that fixed, figuring out the interface names and which name corresponds to which physical interface is a task which most probably will need physical human interaction with the machine.
The name of the interface is currently needed for configuring bootstrappers and workers networks and running blacksmith on bootsrappers. (Am I missing anything here?)
We most probably want bootstrappers to bring up blacksmith on their internal interface (this definition of "internal interface" goes the same way for workers too) i.e. the one from which they received PXE boot configurations, but the interface names are not needed to be known the first time they boot.
We can inject a script which sends the "internal" interface name of the newly booted machine to the bootstrappers, and with this fixed, the machines can put their internal interface name in masters etcd themselves. The templates/blacksmith run scripts can then be cooked based on these values (in the latter case we can even query etcd directly) and with a little luck (?) we probably won't need to change anything else in blacksmith.
@remohammadi your thoughts on this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.