Understanding the difference between the master and worker nodes
To run Kubernetes, you will require Linux machines, which are called nodes in Kubernetes. A node could be a physical machine or a virtual machine on a cloud provider, such as an EC2 instance. There are two types of nodes in Kubernetes:
- Master nodes
- Worker nodes
Master nodes are responsible for maintaining the state of the Kubernetes cluster, whereas worker nodes are responsible for executing your Docker containers.
While using Linux, you will have probably used commands such as apt-get install
or yum install
to get a new, fully functional software preconfigured that just works out of the box. With Kubernetes, things are a slightly more complex.
The good news is that you can also use Windows-based nodes to launch Windows-based containers in your Kubernetes cluster. The thing to know is that you can mix Linux and Windows machines on your cluster and it will work the same, but you cannot launch a...