Chapter 4. Configuring Ansible automation controller on OpenShift Container Platform
During a Kubernetes upgrade, automation controller must be running.
4.1. Minimizing downtime during OpenShift Container Platform upgrade Copy linkLink copied to clipboard!
Make the following configuration changes in automation controller to minimize downtime during the upgrade.
Prerequisites
- Ansible Automation Platform 2.4 or later
- Ansible automation controller 4.4 or later
OpenShift Container Platform:
- Later than 4.10.42
- Later than 4.11.16
- Later than 4.12.0
- High availability (HA) deployment of Postgres
- Multiple worker node that automation controller pods can be scheduled on
Procedure
Enable
RECEPTOR_KUBE_SUPPORT_RECONNECTin AutomationController specification:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Enable the graceful termination feature in AutomationController specification:
termination_grace_period_seconds: <time to wait for job to finish>
termination_grace_period_seconds: <time to wait for job to finish>Copy to Clipboard Copied! Toggle word wrap Toggle overflow Configure
podAntiAffinityfor web and task the pod to spread out the deployment in AutomationController specification:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Configure
PodDisruptionBudgetin OpenShift Container Platform:Copy to Clipboard Copied! Toggle word wrap Toggle overflow