OpenShift: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 3: Line 3:
<br />
<br />


= System Requirements =
yum update -y
yum install git docker net-tools
yum install -y ansible pyOpenSSL python-cryptography python-lxml nano


* For this cluster setup you will need the following VM or Hardware Requirements:
3 - CentOS 7.5 VMs or hosts
8 vCPUs
12-16 GB RAM
80 GB HDD space (custom partition — 8GB swap, 1GB /boot, rest for / partition)
1 NIC interface with static address and gateway configured

= Prequisites =

;Perform these steps on all 3 hosts:

* Add the IP address, hostname and FQDN of each node to /etc/hosts for each host
10.1.10.27 opshmaster opshmaster.avifl.com
10.1.10.28 opshnode1 opshnode1.avifl.com
10.1.10.29 opshnode2 opshnode2.avifl.com

* Run ssh-keygen, accept the default location of the key and do not set a password for the key.

* Run the following bash script:
for host in opshmaster.avifl.com \
opshnode1.avifl.com \
opshnode2.avifl.com; \
do ssh-copy-id -i ~/.ssh/id_rsa.pub $host; \
done

* Install the following pre-requirements:
yum -y install yum yum-utils wget git net-tools bind-utils iptables-services bridge-utils NetworkManager
yum -y install ansible pyOpenSSL python python-yaml python-dbus python-cryptography python-lxml docker tesseract nano
yum -y update

* Setup Docker pre-requirements:
systemctl enable docker
systemctl start docker

* Restart all 3 hosts

= Ansible Configuration =


= OpenShift Instrallation =
git clone --single-branch -b release-3.9 https://github.com/openshift/openshift-ansible
git clone --single-branch -b release-3.9 https://github.com/openshift/openshift-ansible
cd openshift-ansible/
cd openshift-ansible/


= Disable Kube-Proxy =


<br />
<br />