Skip to main content

AWX (Ansible Tower)


Upgrading AWX on a Single Node K3s Cluster

Get current version of operator

[root@awx-server vladoportos]# kubectl describe pod awx-operator-controller-manager -n awx | grep
    Image ID:

Get latest version of operator

git clone
cd /root/awx-operator
git remote update
git fetch
RELEASE_TAG=`curl -s | grep tag_name | cut -d '"' -f 4`
git checkout $RELEASE_TAG

Remove old operator

kubectl config set-context --current --namespace=awx
kubectl delete deployment awx-operator-controller-manager
kubectl delete serviceaccount awx-operator-controller-manager
kubectl delete rolebinding awx-operator-awx-manager-rolebinding
kubectl delete role awx-operator-awx-manager-role

Deploy new operator

export NAMESPACE=awx
make deploy

This will deploy the new operator and operator will take care of upgrading the AWX instance.

That's it ! and hey, if you're feeling generous and want to share the love, consider getting a coffee for me too! Your support is greatly appreciated and helps me create more useful guides and content for our community. Just click the link below to treat me to a coffee. Cheers!