How to add Windows node while creating cluster using Kubernetes on Google cloud platform?

1/1/2019

I have tried creating Kubernetes cluster but all the nodes are linux based OS(Container-Optimized OS (cos) (default) and Ubuntu). I have windows based image stored on docker Hub I need to deploy this app to kubernetes cluster. I am using https://console.cloud.google.com/kubernetes/ to create cluster.

While creating nodes, in setting there are only two options: Container-Optimized OS (cos) (default) and Ubuntu.

-- Kp28
google-cloud-platform
google-kubernetes-engine
kubernetes
kubernetes-cluster

2 Answers

1/1/2019

I don't think you can run Windows nodes in GKE, even though Kubernetes itself supports Windows nodes (https://kubernetes.io/docs/getting-started-guides/windows/).

In my opinion, the other options you have are:

Hope that helps!

-- pogao
Source: StackOverflow

1/1/2019

Windows is not supported by Google Kubernetes. There is a feature request that you can track: Feature request : Support for Windows Server Containers in GKE

You can launch your own Google Compute VM and run Windows containers. This article provides more information.

-- John Hanley
Source: StackOverflow