1
0
mirror of https://github.com/openshift/openshift-ansible.git synced 2026-02-05 06:46:04 +01:00
Scott Dodson 6a063c4690 Switch to openshift-kubelet package
See https://github.com/openshift/kubernetes/pull/1882

This will likely require some testing. I would expect clusters upgrading
to the new packaging to be fine but still have all of the other packages
installed. Maybe at some point we should come back and remove the other
packages but it doesn't seem imperative now.
2024-02-26 15:06:32 -05:00
2019-03-25 12:42:22 -04:00
2019-02-25 20:23:03 -05:00
2021-06-09 16:49:43 -04:00
2018-08-31 14:33:16 +02:00
2021-06-09 16:49:43 -04:00
2018-06-15 13:40:56 -04:00
2022-02-09 10:08:33 -08:00
2017-01-10 11:45:30 -05:00
2023-04-12 20:31:31 +08:00
2019-03-25 12:32:04 -04:00
2019-03-25 12:32:04 -04:00
2019-04-05 09:32:51 -04:00
2022-07-19 23:48:01 -04:00
2023-01-05 09:13:32 -08:00
2020-03-30 13:25:00 -04:00
2023-06-07 12:10:55 -03:00
2022-07-19 23:48:01 -04:00
2018-04-06 13:13:26 -04:00
2021-06-09 16:49:43 -04:00
2022-02-09 10:08:33 -08:00

Join the chat at https://gitter.im/openshift/openshift-ansible Build Status

OpenShift Ansible

This repository contains Ansible roles and playbooks for OpenShift clusters.

Previous OpenShift Ansible 3.x releases

For 3.x releases of OpenShift Ansible please reference the release branch for specific versions. The last 3.x release is 3.11 release.

OpenShift 4.x

Installation of OpenShift 4.x uses a command-line installation wizard instead of Ansible playbooks. Learn more about the OpenShift Installer in this overview.

For OpenShift 4.x, this repository only provides playbooks necessary for scaling up or upgrading RHEL hosts in an existing 4.x cluster.

The master branch tracks our current work in development.

Requirements: (localhost)

  • Ansible >= 2.9.5
  • OpenShift Client (oc)

Quickstart

Install an OpenShift 4.x cluster

Install a cluster using the OpenShift Installer.

Create an Ansible Inventory

Create an inventory file with the appropriate groups and variables defined. An example inventory can be found in inventory/hosts.example.

Required variables include:

  • openshift_kubeconfig_path - Path to the kubeconfig for the cluster

Run the RHEL node scaleup playbook

cd openshift-ansible
ansible-playbook -i inventory/hosts playbooks/scaleup.yml

Run the RHEL node upgrade playbook

Custom tasks can be performed during upgrades at different stages of the upgrade. See the hooks documentation for more information.

cd openshift-ansible
ansible-playbook -i inventory/hosts playbooks/upgrade.yml

Further reading

Complete Production Installation Documentation:

Containerized OpenShift Ansible

See README_CONTAINER_IMAGE.md for information on how to package openshift-ansible as a container image.

Contributing

See the contribution guide.

Building openshift-ansible RPMs and container images

See the build instructions.

Description
OpenShift Installation and Configuration Management
Readme Pixar 99 MiB
Languages
Python 75.7%
Shell 14.6%
HCL 7.8%
Dockerfile 1.7%
Smarty 0.2%