I have a Google Kubernetes cluster with its associated VM instance. How can I change the image of the disk used by that VM instance to Windows Server Edition? I know it's possible to create a VM instance from a Windows Server Image, but how do I change the current image of my existing VM instance to a Windows Server Image?
Thank you
As of writing this answer(December 2018), Google Kubernetes engine supports two operating systems:
More details about supported image types you can find here
To change VM image, you need to update your configuration, this depends on how you create your kubernetes cluster. For example you have option to select the image when creating your cluster via web ui(create cluster -> node pools -> customize -> advanced edit):
If you are creating the cluster via configuration file you need to update the image you want to use in the config file and apply your changes, for example:
apiVersion: v1
kind: Pod
metadata:
name: resource-reserver
spec:
containers:
- name: sleep-forever
image: <your-image-here>