0

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.

Joan Grau Noël
  • 3,084
  • 12
  • 21
Kp28
  • 1
  • 2

2 Answers2

1

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
  • 74,467
  • 6
  • 95
  • 159
  • Thanks John. I was able to run container on Google compute VM. I am trying to deploy my MVC-WEB API application using Kubernetes. – Kp28 Jan 02 '19 at 14:29
0

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
  • 11
  • 1
  • 3
  • Thanks. Now I am trying creating Instance group in GCP and deploy container on Windows nodes. I am not sure how that will work but I will try. – Kp28 Jan 02 '19 at 14:31