You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
devolab-user-config | 4 years ago | |
extra_vars | 4 years ago | |
inventory | 4 years ago | |
namespace-configuration-controller@0ab5a97885 | 4 years ago | |
.gitmodules | 4 years ago | |
README.md | 4 years ago | |
compress-logrotate.yml | 4 years ago | |
journald-size.yml | 4 years ago | |
prereq_ansible_host.yml | 5 years ago | |
update_host_file.yml | 5 years ago |
README.md
Devolab OpenShift
Necessary files to deploy OpenShift 3.x on Devolab.
Installation
Prerequisites
- Order an OpenStack Project on the ITPortal with sufficient quotas
- Deploy a bastion VM, based on CentOS with the smallest available flavor.
- Checkout this repo on your local machine
- Update the
inventory/bastion-inventory
with your provisionned bastion - Run the
prereq_ansible_host.yml
playbook from your computer against the inventory:
ansible-playbook -i inventory/bastion-inventory prereq_ansible_host.yml -v
Infrastructure provisionning
- SSH into the bastion server
- Checkout this repo and move into the directory
- Edit the
inventory/group_vars/all.yml
to your liking - Clone the
release-3.11
branch from the openshift-ansible repository:
git clone --single-branch --branch release-3.11 https://github.com/openshift/openshift-ansible.git
- Run the provision playbook:
ansible-playbook --user openshift -i openshift-ansible/playbooks/openstack/inventory.py -i inventory openshift-ansible/playbooks/openstack/openshift-cluster/provision.yml -v
- Run the
update_host_file.yml
playbook to update host files on each provisionned host (except if some DNSaaS has been put in place on Devolab). - Ask DNS administrator to add the following entries into Devolab DNS (put the correct IP addresses and replace
openshift.devolab.lan
with the correct domain name):
console.openshift.devolab.lan IN A <master_floating_IP>
*.apps.openshift.devolab.lan IN A <infra_floating_IP>
OpenShift Installation
- Edit the
inventory/group_vars/OSEv3.yml
to your liking - Edit the
extra_vars/auth_ldap.yml
with the LDAP account to use to bind to the LDAP server - Run the installation playbook:
ansible-playbook --user openshift -i openshift-ansible/playbooks/openstack/inventory.py -i inventory -e '@extra_vars/auth_ldap.yml' openshift-ansible/playbooks/openstack/openshift-cluster/install.yml -v