Can a kubernetes cluster share windows and linux nodes?

2/4/2018

I am trying to create windows nodes in an already existing kubernetes cluster in Azure. The kubernetes cluster has two Linux nodes running on them.

I am trying to use az aks cli to create windows nodes but I don't see any option.

So can we create Linux and Windows nodes in the same kubernetes cluster? If yes, How?

-- CKS
azure
containers
kubernetes

1 Answer

2/5/2018

Yes, this is posible, but not using the CLI\portal (at this stage). You need to use ACS engine.

You need to use this definition (adjust it to your needs):
https://github.com/Azure/acs-engine/blob/master/examples/windows/kubernetes-hybrid.json

There is a bit of a learning curve, but not that hard.
https://github.com/Azure/acs-engine/blob/master/docs/kubernetes/deploy.md
https://github.com/Azure/acs-engine/blob/master/docs/clusterdefinition.md

-- 4c74356b41
Source: StackOverflow