Kubernetes Windows And Linux Containers

To get started with windows server containers in kubernetes check out https aka ms k8swindows.
Kubernetes windows and linux containers. Scheduling windows containers in pods a pod represents a set of running containers in your cluster. The containers running in kubernetes need to be running windows server 2019. Scheduling windows containers in pods on kubernetes is as simple and easy as scheduling linux based containers. Since all the deployments live in docker containers you can run any os on kubernetes in a docker container.
You can run kubernetes itself. Running both windows and linux containers on the same cluster shouldn t cause you any problems. Kubernetes v1 18 beta you can use kubernetes to run a mixture of linux and windows nodes so you can mix pods that run on linux on with pods that run on windows. On kubernetes is as simple and easy as scheduling linux based containers.
In order to run windows containers your kubernetes cluster must include multiple operating systems with control plane nodes running linux and workers running either windows or linux depending on your workload needs. The way this is achieved is a bit different from the way it is done for linux containers. Learn more about it here. The end result is the ability to create a single kubernetes cluster that includes not just linux nodes running linux containers or windows nodes running windows containers but both side by side for a truly hybrid experience.
The end result is that a single kubernetes cluster can now have all linux workers all windows server workers or more likely a mix of both enabling true heterogeneous workloads cats and dogs under the same roof. For example a single service can have pods using windows server containers and other pods using linux containers. Starting with kubernetes v1 16 windows containers can be configured to run their entrypoints and processes with different usernames than the image defaults. The bad news is your worker nodes in kubernetes need to be running windows server 2019.
Even the about windows containers page. Obtain a windows server 2019 license or higher in order to configure the windows node that hosts windows containers.