Last active
August 29, 2015 14:21
-
-
Save jimmidyson/71e6c20918ad456c5709 to your computer and use it in GitHub Desktop.
OpenShift Fabric8 start scripts
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
#!/bin/bash | |
curl -L https://github.com/openshift/origin/releases/download/v0.5.1/openshift-origin-v0.5.1-ce1e6c4-linux-amd64.tar.gz | tar xzv |
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
#!/bin/bash | |
nohup ./openshift start \ | |
--cors-allowed-origins='.*' \ | |
--master=os1.fabric8.io \ | |
--volume-dir=/var/lib/openshift/openshift.local.volumes \ | |
--etcd-dir=/var/lib/openshift/openshift.local.etcd \ | |
> /var/lib/openshift/openshift.log & |
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
#!/bin/bash | |
mkdir -p ~/.config/openshift | |
ln -s `pwd`/openshift.local.config/master/admin.kubeconfig ~/.config/openshift/config |
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
#!/bin/bash | |
./osadm policy add-cluster-role-to-user cluster-admin admin |
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
#!/bin/bash | |
./osadm router --create --credentials=openshift.local.config/master/openshift-router.kubeconfig | |
./osadm registry --create --credentials=openshift.local.config/master/openshift-registry.kubeconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment