I know this subject has been asked multiple times but I tried following this documentation here:
https://github.com/ansible/awx-operator#upgrading
The problem that happened to me when I was attempting an operator upgrade and downscaling my AWX deployment to 0, the postgres pod would only stay online and applying the new operator the AWX deployment would not come back online.
So as a Kubernetes noob what would be the steps that I’m missing here?
- Downscale AWX deployment
- Download new operator 0.13.0 and kubectl apply -f my-awx.yml
- New AWX pods and version should be running??? (This step did not work for me)
If you’ve done an operator upgrade with success I’d love to see how you attempted it and what steps I am missing because I’d love to share this knowledge and document it somewhere for K8S beginners like myself!
If I remember correctly I just updated the operator. I did not reapply the yml manifest.
I did remember one of the operator upgrade (could have been that one) did play up. I chalked it up to that release. The most recent one worked.
With the most recent upgrade (0.12-0.13) it has worked fine. I wonder if you do it in stages incrementally whether it will help? 0.10-0.11-0.12-0.13?
Always appreciate your activity in this forum Wei-Yen, I think that’s a good idea, so I won’t reapply the yml manifest and I’ll try and incremental upgrade path. That’s something I have not attempted and I plan on doing one this week, so I’ll keep everyone posted and detail my logs when the time comes!
I wonder what others have experienced with upgrades as well, I unfortunately only have one “test” environment and need to wait until the end of the week to try out an upgrade.