OpenShift cluster up notes
Published (last updated )
Notes about oc cluster up on RHEL Atomic hostname
- add –insecure-registry setting to /etc/sysconfig/docker
- add -H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375 –insecure-registry 172.30.0.0/16 option to /etc/sysconfig/docker
- install oc client in /root/.local/bin
oc cluster up --base-dir=/root/.openshift --enable='automation-service-broker,centos-imagestreams,persistent-volumes,registry,rhel-imagestreams,router,-sample-templates,service-catalog,template-service-broker,web-console' --public-hostname=10.10.11.3- running into issue where everything redirects to localhost/127.0.0.1
fgrep -RIl localhost:8443 /root/.openshift | xargs sed -i 's/localhost:8443/10.10.11.3:8443/g'oc cluster downoc cluster up --base-dir=/root/.openshift --public-hostname=10.10.11.3