Files
awx-operator/docs/user-guide/advanced-configuration/auto-upgrade.md
kurokobo 2b0221bbc6 docs: overall minor renovations (#1874)
* docs: simplify README.md and make index.md to refer to it
* docs: change order for pages in navigation and add missing pages
* docs: fix headings to improve navigation, transform notes to admonition, fix indentation, linting issues and minor issues
* docs: merge docs for using images from private registries
* docs: add example to integrate LDAP configuration via extra_settings_files
* Apply suggestions from code review
docs: apply suggested changes

Co-authored-by: Don Naro <dnaro@redhat.com>

* docs: update the doc site url as same as the url in https://www.ansible.com/ecosystem/
* docs: minor fixes for hpa page
* docs: expand note block
* docs: apply #1904 to README.md

---------

Co-authored-by: Don Naro <dnaro@redhat.com>
2024-07-20 18:34:21 -04:00

1.2 KiB

Auto upgrade

With this parameter you can influence the behavior during an operator upgrade.
If set to true, the operator will upgrade the specific instance directly.
When the value is set to false, and we have a running deployment, the operator will not update the AWX instance.
This can be useful when you have multiple AWX instances which you want to upgrade step by step instead of all at once.

Name Description Default
auto_upgrade Automatic upgrade of AWX instances true

Example configuration of auto_upgrade parameter

spec:
  auto_upgrade: true

Upgrade of instances without auto upgrade

There are two ways to upgrade instances which are marked with the 'auto_upgrade: false' flag.

Changing flags:

  • change the auto_upgrade flag on your AWX object to true
  • wait until the upgrade process of that instance is finished
  • change the auto_upgrade flag on your AWX object back to false

Delete the deployment:

  • delete the deployment object of your AWX instance

    kubectl -n awx delete deployment <yourInstanceName> 
    
  • wait until the instance gets redeployed