Skip to content

Files

Latest commit

Kedar Vijay Kulkarnimohit-sheth
and
Sep 7, 2021
38750ab · Sep 7, 2021

History

History
This branch is 1 commit ahead of, 59 commits behind cloud-bulldozer/scale-ci-deploy:master.

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 8, 2020
Jun 2, 2021
Aug 13, 2019
Jul 26, 2021
Sep 7, 2021
Aug 12, 2021
Jun 2, 2021
Jun 2, 2021
May 8, 2020
May 8, 2020

README.md

Documentation

The scale-ci-deploy repo is split into two major directories, playbooks for OpenShift 4 and playbooks for OpenShift 3.

OpenShift 4 (OCP-4.X directory) scale-ci-deploy docs

Environment IPI Install Scale-up Upgrade Cleanup / Destroy
AWS Yes Yes Yes Variable OPENSHIFT_CLEANUP
Azure Yes Yes Yes Variable OPENSHIFT_CLEANUP
GCP Yes Yes No Variable OPENSHIFT_CLEANUP
OpenStack Yes No Yes Separate Playbook

OpenShift 4 Scale playbook

See the OpenShift 4 scale document for the scale playbook documentation.

OpenShift 4 Upgrade playbook

See the OpenShift 4 upgrade document for the upgrade playbook documentation.

OpenShift 3 (OCP-3.X directory) scale-ci-deploy docs

Environment Install Scale-up
OpenStack Yes Yes

Playbooks usage in CI

For Jenkins setup, each install has a Jenkins job implemented in scale-ci-pipeline

To implement in your own CI, use a SCM plugin/module to clone the code into a build step. Each install variable in the docs should be implemented as a parameter for each job. An example build step for OCP 4 IPI AWS install as implemented in Jenkins would look like:

set -o pipefail
set -eux

echo "[orchestration]" > inventory
echo "${ORCHESTRATION_HOST}" >> inventory

ansible-playbook -vv -i inventory OCP-4.X/install-on-aws.yml

Cerberus Integration

What is Cerberus? Cerberus is a project that will watch an Openshift/Kubernernetes cluster for dead nodes, component failures, etc and provide a healthly/unhealthy (True/False) signal.

Cerberus is optionally used for all install/scale/upgrades by defining the CERBERUS_URL variable in the format "http://1.2.3.4:8080"

For installation and startup instructions for Cerberus please see https://github.com/openshift-scale/cerberus