Setting up a Kubernetes cluster with Windows nodes is complex and will be covered later in this book, and the principles will be demonstrated on Linux examples. From a Kubernetes API Server perspective, Windows and Linux nodes operate in almost the same way.
In the Kubernetes cluster, the cluster state is managed by the kube-apiserver component and is persisted in the etcd cluster. The state is abstracted and modeled as a set of Kubernetes objects – these entities describe what containerized applications should be run, how they should be scheduled, and are the policies concerning restarting or scaling them. If there is anything you would like to achieve in your Kubernetes cluster, then you have to create or update Kubernetes objects. This type of model is called a declarative model – you declare your intent and Kubernetes is responsible for changing...