Is it possible to build Kubernetes from source code on a windows machine?
As per development environment setup mentioned in https://github.com/kubernetes/community/blob/master/contributors/devel/development.md only supported OSs are Linux and MAC
Running build/run.sh shows below:
Unsupported host OS. Must be Linux or Mac OS X.
The simple answer is yes. Kubernetes source is in Go and there is Go compiler for Windows.
Another question would be, is it possible to be built easily? And that would be a 'no' (as of this writing) since you have already seen by running build/run.sh
. So it's not supported by K8s officially.