Deploy openshift via ansible on fedora-atomic 27

Run openshift via ansible on fedora-atomic 27

Requements(node configuration)
— 3 node fedora atomic 27
— debian node with python3,docker,docker-compose packages,ansible(>= 2.3)
— ssh-login without password on all nodes from deploying node(from
— Functional DNS server, with all hosts configured by appropriate domain names (ensure nslookup of the hostnames is successful in resolving the machine’s IP addresses
— Setup passwordless SSH between the Ansible host and other hosts.

Node settings
— ansible,dns node 10.12.4.37 — Debian with python3,docker,docker-compose packages
— fedora atomic 10.12.4.49 — resolved by name master.openshift.local
— fedora atomic 10.12.4.50 — resolved by name node1.openshift.local
— fedora atomic 10.12.4.51 — resolved by name node2.openshift.local
— dns nameserver after build and up compose file must be changed on 10.12.4.37

1. Configure ansible, dns node

Install requirements

Add line

add key

Install

Clone bind9 docker-compose

Change dns-nameserver

edit

1. Configure fedora-atomic nodes

Change dns-nameserver

edit

3. Deploy openshift from ansible node

Git clone

Change branch

COnfigure myinventory file

paste

Check

Deploy

It’s time to coffee brake. 15-20 min.

Add user admin

Go to

The password for the admin user is OriginAdmin, while the password for the user user is OriginUser.

Done

Snippets

Remove openshift from nodes

Openshift multimaster config

Materials
Официальная документация на версию 3.7

#https://access.redhat.com/documentation/en-us/openshift_container_platform/3.7/pdf/installation_and_configuration/OpenShift_Container_Platform-3.7-Installation_and_Configuration-en-US.pdf

#Инфа по переменным при инстале
https://docs.openshift.org/latest/install_config/install/advanced_install.html
#http://www.randomlyexpressed.com/open-shift-origin-ansible/
#https://developer.fedoraproject.org/deployment/openshift/about.html
#https://dustymabe.com/2016/12/07/installing-an-openshift-origin-cluster-on-fedora-25-atomic-host-part-1/
#https://dustymabe.com/2016/12/12/installing-an-openshift-origin-cluster-on-fedora-25-atomic-host-part-2/
#https://dzone.com/articles/deploying-docker-images-to-openshift
#http://openebs.readthedocs.io/en/latest/install/openshift.html

Добавить комментарий

Войти с помощью: 

Ваш e-mail не будет опубликован. Обязательные поля помечены *

 

Этот сайт использует Akismet для борьбы со спамом. Узнайте как обрабатываются ваши данные комментариев.