devops:paas:openshift
OpenShift
Download
To start experimenting you need to download the release like v3.7.0 (not the patch version) from here: https://github.com/openshift/origin/tags
Download the openshift-origin-server-*.tar.gz, not the client. It contains more tools like kubectl.
Launch
Launch the the OpenShift server NOT by “sudo ./openshift start” as proposed by the docu. This will bind the openshift to the local-ip, which may be the docker internal ip, which is not known by host, when running from a virtual machine.
Instead do:
sudo ./oc cluster up --host-data-dir=/data/openshift --use-existing-config --public-hostname=127.0.0.1
Vagrant
Here is a vagrant file to get started quickly: https://gist.github.com/skipidar/4b9fbb9e7e218ce4587ad632eb9e8eb3
devops/paas/openshift.txt · Last modified: 2023/11/01 07:15 by skipidar