Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

running windows Container in Kubernetes over AWS cloud

I installed my existing Kubernetes Cluster (1.8) running in AWS using KOPS.

I would like to add Windows Container to the existing cluster but I can not find the right solution! :(

I thought of following these given steps given in:

https://kubernetes.io/docs/getting-started-guides/windows/

I downloaded the node binaries and copied it to my Windows machine (Kubelet, Kube-dns, kube-proxy, kubectl) but I got a little confused about the multiple networking options.

They have also given the kubeadmin option to join the node to my Master, which I have no idea why since I used Kops to create my cluster.

Can someone advise or help me on how I can get my windows node added?

like image 881
user1852104 Avatar asked May 16 '18 11:05

user1852104


People also ask

Can Kubernetes run Windows containers?

In order to run Windows containers, your Kubernetes cluster must include multiple operating systems. While you can only run the control plane on Linux, you can deploy worker nodes running either Windows or Linux. Windows nodes are supported provided that the operating system is Windows Server 2019.

Can you use Kubernetes with AWS?

Q: Does AWS support Kubernetes? AWS makes it easy to run Kubernetes. In fact, AWS has the most customers running Kubernetes in the cloud, with the majority of Kubernetes deployments running on AWS according to the Cloud Native Computing Federation (CNCF).

Do Windows containers exist?

Windows container images are common across both Windows Server containers and Hyper-V isolation. The choice of container type is made when you start the container. From a developer standpoint, Windows Server containers and Hyper-V isolation are two flavors of the same thing.

Can Linux run Windows containers?

Q: Can Windows containers run on Linux? A: No. They cannot. Containers are using the underlying operating system resources and drivers, so Windows containers can run on Windows only, and Linux containers can run on Linux only.


1 Answers

KOPS is really good if the default architecture satisfies your requirements, if you need to make some changes it will give you some trouble. For example I needed to add a GPU Node, I was able to add it, but unable to make this process automatic, being unable to create an auto scaling group.

Kops has a lot of pros, like creating all the cluster in a transparent way.

Do you really need a windows node?

If yes, try to launch a cluster using kube-adm, then joining the windows node to this cluster.

Kops will take some time to add this windows nodes feature.

like image 147
Leandro Donizetti Soares Avatar answered Nov 14 '22 05:11

Leandro Donizetti Soares