-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5032 from sdodson/v3_7_byo
Add missing byo v3_7 playbooks
- Loading branch information
Showing
4 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# v3.6 Major and Minor Upgrade Playbook | ||
|
||
## Overview | ||
This playbook currently performs the following steps. | ||
|
||
* Upgrade and restart master services | ||
* Unschedule node | ||
* Upgrade and restart docker | ||
* Upgrade and restart node services | ||
* Modifies the subset of the configuration necessary | ||
* Applies the latest cluster policies | ||
* Updates the default router if one exists | ||
* Updates the default registry if one exists | ||
* Updates image streams and quickstarts | ||
|
||
## Usage | ||
|
||
``` | ||
ansible-playbook -i ~/ansible-inventory openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_7/upgrade.yml | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
# | ||
# Full Control Plane + Nodes Upgrade | ||
# | ||
- include: ../../initialize_groups.yml | ||
|
||
- include: ../../../../common/openshift-cluster/upgrades/v3_7/upgrade.yml |
16 changes: 16 additions & 0 deletions
16
playbooks/byo/openshift-cluster/upgrades/v3_7/upgrade_control_plane.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
# | ||
# Control Plane Upgrade Playbook | ||
# | ||
# Upgrades masters and Docker (only on standalone etcd hosts) | ||
# | ||
# This upgrade does not include: | ||
# - node service running on masters | ||
# - docker running on masters | ||
# - node service running on dedicated nodes | ||
# | ||
# You can run the upgrade_nodes.yml playbook after this to upgrade these components separately. | ||
# | ||
- include: ../../initialize_groups.yml | ||
|
||
- include: ../../../../common/openshift-cluster/upgrades/v3_7/upgrade_control_plane.yml |
9 changes: 9 additions & 0 deletions
9
playbooks/byo/openshift-cluster/upgrades/v3_7/upgrade_nodes.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
# | ||
# Node Upgrade Playbook | ||
# | ||
# Upgrades nodes only, but requires the control plane to have already been upgraded. | ||
# | ||
- include: ../../initialize_groups.yml | ||
|
||
- include: ../../../../common/openshift-cluster/upgrades/v3_7/upgrade_nodes.yml |