Arajit
Arajit

Reputation: 143

Build Kubernetes from Source on a Windows machine

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.

Upvotes: 2

Views: 173

Answers (1)

Rico
Rico

Reputation: 61669

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.

Upvotes: 1

Related Questions