Hey, I’ve been trying to work out the best/easiest way of getting started with kubernetes running on a Windows 10 machine, running Windows containers. I’ve been trying minikube, and I’ve been able to get a windows container running, but minikube is extremely unstable, and I rarely get it to start. I’ve also tried Docker for Desktop with Kubernetes. This has to be switched to Linux containers to enable Kubernetes support. I’ve tried then switching back to windows containers but haven’t had much luck deploying windows containers. I’ve found it easier creating a windows cluster in Azure via aks-engine than running locally.
How is everyone (or anyone) who runs a straight windows stack working with kubernetes locally?
Paul seems to have gotten this working. This is not (at least yet) a documented solution.
Cheers Craig, but I don’t think there is a way to achieve what I’m trying to do (easily) yet. I’d like to be able to run the k8s master as a Linux VM, but have the host Windows 10 machine added as a Windows node. I’ve tried a few different options (including this: https://github.com/patricklang/windows-k8s-lab ) but haven’t been able to get it working so far.
Have you tired running through this guide yet? https://docs.microsoft.com/en-us/virtualization/windowscontainers/kubernetes/getting-started-kubernetes-windows
I was successful in getting both a windows 2019 server and Windows Server Core nodes added to the cluster. It was a pretty smooth process.