Skip to content

Instantly share code, notes, and snippets.

@sameo
Last active August 8, 2017 19:35
Show Gist options
  • Save sameo/6cb17d8c0c95412696596dea2ba3a9c9 to your computer and use it in GitHub Desktop.
Save sameo/6cb17d8c0c95412696596dea2ba3a9c9 to your computer and use it in GitHub Desktop.

Install FC25 server

Password less root ssh

dnf install git ansible

git clone https://github.com/runcom/openshift-origin-cri-o

git clone https://github.com/openshift/openshift-ansible

Set python3 as the default:

alternatives --install /usr/bin/python python /usr/bin/python3.4 2
alternatives --install /usr/bin/python python /usr/bin/python2.7 1
vim roles/openshift_node/tasks/main.yml
disable ipforwarding task

./run.sh <yourIP>

Restart the control plane:

oc rollout latest docker-registry
oc rollout latest registry-console
oc rollout latest router

Start a Pod

oc run redis --image=redis:alpine
oc describe pod redis | grep IP
redis-cli -h 10.128.0.14 ping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment