Created
March 10, 2016 14:07
-
-
Save sub-mod/58543d55bfa1814fa977 to your computer and use it in GitHub Desktop.
openshift vm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
laptop>export OPENSHIFT_MEMORY=4192 | |
laptop>vagrant up | |
laptop>vagrant ssh | |
vm>cd /data/src/github.com/openshift/origin | |
vm>git fetch; git pull --rebase | |
vM>make clean build | |
vm>export PATH=/data/src/github.com/openshift/origin/_output/local/bin/linux/amd64:$PATH | |
vm>mkdir -p /root/o3/ | |
vm>KUBECONFIG=/root/o3/master/admin.kubeconfig | |
vm>openshift start --write-config="/root/o3" | |
vm>sudo `which openshift` start --master-config="/root/o3/master/master-config.yaml" --node-config="/root/o3/node-openshiftdev.local/node-config.yaml" --public-master=localhost &> openshift.log & | |
vm>oc get nodes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment