OpenShift Ansible

OpenShift安装和配置管理。(OpenShift Installation and Configuration Management.)

Github星跟蹤圖

通知

主分支关闭了!devel-40正在进行一项重大改造。 3.x的更改应直接发送到与之相关并从那里向后移植的最新版本分支。

OpenShift Ansible

此存储库包含安装、升级和管理OpenShift集群的Ansible角色和手册。

注意:此存储库中的Ansible playbooks需要一个提供docker的RPM包。目前,来自dockerproject.org的RPM不提供此要求,但可能在将来使用。 #2720正在跟踪此限制。

获得正确的版本

选择openshift版本时,请确保您的发行版存储库中有必要的源包。默认情况下,openshift-ansible不会为最终用户配置额外的存储库以测试或暂存程序包。

我们建议使用发布分支。我们维护与上游Origin版本相对应的稳定分支,例如:我们保证openshift-ansible 3.2版本将完全支持origin 1.2版本

最新的分支通常会收到次要的功能后退和修复。较旧的分支机构只会收到关键修复程序。

除了发布分支之外,主分支还跟踪我们当前的开发工作,并且应该与Origin主分支(开发中的代码)兼容。

概覽

名稱與所有者openshift/openshift-ansible
主編程語言Python
編程語言Python (語言數: 5)
平台Linux
許可證Apache License 2.0
發布數3413
最新版本名稱openshift-ansible-3.11.1159-1 (發布於 2023-09-20 19:24:22)
第一版名稱v3-beta2-03-09-15 (發布於 )
創建於2014-09-16 17:07:51
推送於2024-04-19 12:48:53
最后一次提交2024-04-10 13:04:11
星數2.2k
關注者數139
派生數2.3k
提交數14.6k
已啟用問題?
問題數2754
打開的問題數1
拉請求數8159
打開的拉請求數0
關閉的拉請求數1585
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

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 repo 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.1
  • 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.

去到頂部