install openshift origin / OS Fedora 23

Installing Openshift origin on Fedora 23 is showed below,overall not an difficult task to get test environment for openshift origin which then can be used for testing
( really only for testing – as this is going to be master / node on one machine and in kvm guest )

Following below steps will lead to test openshift origin environment.

Openshift origin publish bits are github openshift releases bellow is what I did to get it working under 10 mins.

# dnf install -y docker; systemctl enable docker; systemctl start docker 
# mkdir /root/openshift
# cd /root/openshift
# wget
# tar -xaf openshift-origin-server-v1.1.1-e1d9873-linux-64bit.tar.gz
# cd openshift-origin-server-v1.1.1-e1d9873-linux-64bit
# ./openshift start &

After this, beside files delivered after unpacking source archive, there will be created in openshift directory openshift configuration files

# ls -l 
drwxr-xr-x. 4 root root        46 Jan 19 18:44 openshift.local.config
drwx------. 3 root root        20 Jan 19 20:03 openshift.local.etcd
drwxr-x---. 4 root root        33 Jan 19 18:44 openshift.local.volumes

From here, it is necessary to export paths to keys and certificated

# export KUBECONFIG="$(pwd)"/openshift.local.config/master/admin.kubeconfig
$ export CURL_CA_BUNDLE="$(pwd)"/openshift.local.config/master/ca.crt
$ sudo chmod +r "$(pwd)"/openshift.local.config/master/admin.kubeconfig

That is! Follow rc-local Fedora 23 to make it to start on boot, or write systemd files using as starting points openshift-master-service and openshift-node-service – what should work with small tweaks


#openshift, #openshift-origin