Uses Go reflection to generate a JSON schema that describes one or more API resources in OpenShift Origin.
git clone https://github.com/fabric8io/kubernetes-model $GOPATH/src/github.com/fabric8io/kubernetes-model
-
Navigate into the cloned repo:
cd $GOPATH/src/github.com/fabric8io/kubernetes-model
-
Run:
make
You should now be able to view the generated schema in
kube-schema.json
To update OpenShift/Kubernetes dependencies, run:
make vendoring