mirror of
https://github.com/Expand-sys/awx-on-k3s
synced 2025-12-16 14:02:15 +11:00
feat: bump operator version to 2.14.0
This commit is contained in:
parent
6016b81f7e
commit
cc352cb887
4 changed files with 78 additions and 76 deletions
21
README.md
21
README.md
|
|
@ -31,15 +31,15 @@ An example implementation of AWX on single node K3s using AWX Operator, with eas
|
|||
- CentOS Stream 9 (Minimal)
|
||||
- K3s v1.28.7+k3s1
|
||||
- Products that will be deployed:
|
||||
- AWX Operator 2.13.1
|
||||
- AWX 24.0.0
|
||||
- AWX Operator 2.14.0
|
||||
- AWX 24.1.0
|
||||
- PostgreSQL 15
|
||||
|
||||
## 📝 References
|
||||
|
||||
- [K3s - Lightweight Kubernetes](https://docs.k3s.io/)
|
||||
- [INSTALL.md on ansible/awx](https://github.com/ansible/awx/blob/24.0.0/INSTALL.md) @24.0.0
|
||||
- [README.md on ansible/awx-operator](https://github.com/ansible/awx-operator/blob/2.13.1/README.md) @2.13.1
|
||||
- [INSTALL.md on ansible/awx](https://github.com/ansible/awx/blob/24.1.0/INSTALL.md) @24.1.0
|
||||
- [README.md on ansible/awx-operator](https://github.com/ansible/awx-operator/blob/2.14.0/README.md) @2.14.0
|
||||
|
||||
## 📝 Requirements
|
||||
|
||||
|
|
@ -87,9 +87,10 @@ curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.28.7+k3s1 sh -s - --write-
|
|||
### ✅ Install AWX Operator
|
||||
|
||||
> [!WARNING]
|
||||
> AWX Operator 2.13.x introduces some major changes and some issues related to these changes are reported. If you don't have any strong reason to use 2.13.x, personally I recommend to use [2.12.1](https://github.com/kurokobo/awx-on-k3s/tree/2.12.1) instead until major issues are resolved.
|
||||
> AWX Operator 2.13.x introduces some major changes and some issues related to these changes are reported. These issues include an issue that have the potential to lose data depending on your configuration.
|
||||
> Since the issues still exist in 2.14.0, if you don't have any strong reason to use new version, personally I recommend you to use [2.12.1](https://github.com/kurokobo/awx-on-k3s/tree/2.12.1) instead until major issues are resolved.
|
||||
>
|
||||
> If you have a plan to upgrade existing AWX Operator and AWX from 2.12.x or earlier to 2.13.x anyway, some additional tasks are required. Refer to [📝Tips: Upgrade AWX Operator and AWX](tips/upgrade-operator.md) to further information. Also do not forget creating backup before upgrading.
|
||||
> If you have a plan to upgrade existing AWX Operator and AWX from 2.12.x or earlier to 2.13.x or later anyway, some additional tasks are required. Refer to [📝Tips: Upgrade AWX Operator and AWX](tips/upgrade-operator.md) to further information. Also do not forget creating backup before upgrading.
|
||||
|
||||
Clone this repository and change directory.
|
||||
|
||||
|
|
@ -99,7 +100,7 @@ If you want to use files suitable for a specific version of AWX Operator, [refer
|
|||
cd ~
|
||||
git clone https://github.com/kurokobo/awx-on-k3s.git
|
||||
cd awx-on-k3s
|
||||
git checkout 2.13.1
|
||||
git checkout 2.14.0
|
||||
```
|
||||
|
||||
Then invoke `kubectl apply -k operator` to deploy AWX Operator.
|
||||
|
|
@ -205,7 +206,7 @@ $ kubectl -n awx logs -f deployments/awx-operator-controller-manager
|
|||
...
|
||||
----- Ansible Task Status Event StdOut (awx.ansible.com/v1beta1, Kind=AWX, awx/awx) -----
|
||||
PLAY RECAP *********************************************************************
|
||||
localhost : ok=90 changed=0 unreachable=0 failed=0 skipped=81 rescued=0 ignored=1
|
||||
localhost : ok=90 changed=0 unreachable=0 failed=0 skipped=82 rescued=0 ignored=1
|
||||
```
|
||||
|
||||
The required objects should now have been deployed next to AWX Operator in the `awx` namespace.
|
||||
|
|
@ -220,7 +221,7 @@ NAME READY STATUS RESTAR
|
|||
pod/awx-operator-controller-manager-59b86c6fb-4zz9r 2/2 Running 0 7m22s
|
||||
pod/awx-postgres-15-0 1/1 Running 0 6m33s
|
||||
pod/awx-web-549f7fdbc5-htpl9 3/3 Running 0 6m5s
|
||||
pod/awx-migration-24.0.0-kglht 0/1 Completed 0 4m36s
|
||||
pod/awx-migration-24.1.0-kglht 0/1 Completed 0 4m36s
|
||||
pod/awx-task-7d4fcdd449-mqkp2 4/4 Running 0 6m4s
|
||||
|
||||
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
||||
|
|
@ -242,7 +243,7 @@ NAME READY AGE
|
|||
statefulset.apps/awx-postgres-15 1/1 6m33s
|
||||
|
||||
NAME COMPLETIONS DURATION AGE
|
||||
job.batch/awx-migration-24.0.0 1/1 2m4s 4m36s
|
||||
job.batch/awx-migration-24.1.0 1/1 2m4s 4m36s
|
||||
|
||||
NAME CLASS HOSTS ADDRESS PORTS AGE
|
||||
ingress.networking.k8s.io/awx-ingress traefik awx.example.com 192.168.0.221 80, 443 6m6s
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ An example simple playbook for Ansible is also provided in this repository. This
|
|||
| - | - | - |
|
||||
| `awxbackup_namespace` | The name of the NameSpace where the `AWXBackup` resource will be created. | `awx` |
|
||||
| `awxbackup_name` | The name of the `AWXBackup` resource. Dynamically generated using execution time by default. | `awxbackup-{{ lookup('pipe', 'date +%Y-%m-%d-%H-%M-%S') }}` |
|
||||
| `awxbackup_spec` | The `spec` of the `AWXBackup` resource. Refer [official documentation](https://github.com/ansible/awx-operator/tree/2.13.1/roles/backup) for acceptable fields. | `deployment_name: awx`<br>`backup_pvc: awx-backup-claim`<br>`clean_backup_on_delete: true` |
|
||||
| `awxbackup_spec` | The `spec` of the `AWXBackup` resource. Refer [official documentation](https://github.com/ansible/awx-operator/tree/2.14.0/roles/backup) for acceptable fields. | `deployment_name: awx`<br>`backup_pvc: awx-backup-claim`<br>`clean_backup_on_delete: true` |
|
||||
| `awxbackup_timeout` | Time to wait for backup to complete, in seconds. If exceeded, the playbook will fail. | `600` |
|
||||
| `awxbackup_keep_days` | Number of days to keep `AWXBackup` resources. `AWXBackup` resources older than this value will be deleted by this playbook. Set `0` to keep forever. | `30` |
|
||||
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ secretGenerator:
|
|||
- operator=awx
|
||||
|
||||
resources:
|
||||
- github.com/ansible/awx-operator/config/default?ref=2.13.1
|
||||
- github.com/ansible/awx-operator/config/default?ref=2.14.0
|
||||
|
||||
images:
|
||||
- name: quay.io/ansible/awx-operator
|
||||
newTag: 2.13.1
|
||||
newTag: 2.14.0
|
||||
|
|
|
|||
|
|
@ -8,69 +8,70 @@
|
|||
|
||||
The table below maps the AWX Operator versions and bundled AWX versions.
|
||||
|
||||
| AWX Operator | AWX |
|
||||
| - | - |
|
||||
| 2.13.1 | 24.0.0 |
|
||||
| 2.13.0 | 24.0.0 |
|
||||
| 2.12.2 | 23.9.0 |
|
||||
| 2.12.1 | 23.8.1 |
|
||||
| 2.12.0 | 23.8.0 |
|
||||
| 2.11.0 | 23.7.0 |
|
||||
| 2.10.0 | 23.6.0 |
|
||||
| 2.9.0 | 23.5.1 |
|
||||
| 2.8.0 | 23.5.0 |
|
||||
| 2.7.2 | 23.4.0 |
|
||||
| 2.7.1 | 23.3.1 |
|
||||
| 2.7.0 | 23.3.0 |
|
||||
| 2.6.0 | 23.2.0 |
|
||||
| 2.5.3 | 23.1.0 |
|
||||
| 2.5.2 | 23.0.0 |
|
||||
| 2.5.1 | 22.7.0 |
|
||||
| 2.5.0 | 22.6.0 |
|
||||
| 2.4.0 | 22.5.0 |
|
||||
| 2.3.0 | 22.4.0 |
|
||||
| 2.2.1 | 22.3.0 |
|
||||
| 2.2.0 | 22.3.0 |
|
||||
| 2.1.0 | 22.2.0 |
|
||||
| 2.0.1 | 22.1.0 |
|
||||
| 2.0.0 | 22.0.0 |
|
||||
| 1.4.0 | 21.14.0 |
|
||||
| 1.3.0 | 21.13.0 |
|
||||
| 1.2.0 | 21.12.0 |
|
||||
| 1.1.4 | 21.11.0 |
|
||||
| 1.1.3 | 21.10.2 |
|
||||
| 1.1.2 | 21.10.1 |
|
||||
| 1.1.1 | 21.10.0 |
|
||||
| 1.1.0 | 21.9.0 |
|
||||
| 1.0.0 | 21.8.0 |
|
||||
| 0.30.0 | 21.7.0 |
|
||||
| 0.29.0 | 21.6.0 |
|
||||
| 0.28.0 | 21.5.0 |
|
||||
| 0.27.0 | 21.5.0 |
|
||||
| 0.26.0 | 21.4.0 |
|
||||
| 0.25.0 | 21.3.0 |
|
||||
| 0.24.0 | 21.3.0 |
|
||||
| 0.23.0 | 21.2.0 |
|
||||
| 0.22.0 | 21.1.0 |
|
||||
| 0.21.0 | 21.0.0 |
|
||||
| 0.20.2 | 21.0.0 |
|
||||
| 0.20.1 | 21.0.0 |
|
||||
| 0.20.0 | 20.1.0 |
|
||||
| 0.19.0 | 20.0.1 |
|
||||
| 0.18.0 | 20.0.1 |
|
||||
| 0.17.0 | 20.0.0 |
|
||||
| 0.16.1 | 19.5.1 |
|
||||
| 0.16.0 | 19.5.1 |
|
||||
| 0.15.0 | 19.5.0 |
|
||||
| 0.14.0 | 19.4.0 |
|
||||
| 0.13.0 | 19.3.0 |
|
||||
| 0.12.0 | 19.2.2 |
|
||||
| 0.11.0 | 19.2.1 |
|
||||
| 0.10.0 | 19.2.0 |
|
||||
| 0.9.0 | 19.1.0 |
|
||||
| 0.8.0 | 19.0.0 |
|
||||
| 0.7.0 | 18.0.0 |
|
||||
| 0.6.0 | 15.0.0 |
|
||||
| AWX Operator | AWX |
|
||||
| ------------ | ------- |
|
||||
| 2.14.0 | 24.1.0 |
|
||||
| 2.13.1 | 24.0.0 |
|
||||
| 2.13.0 | 24.0.0 |
|
||||
| 2.12.2 | 23.9.0 |
|
||||
| 2.12.1 | 23.8.1 |
|
||||
| 2.12.0 | 23.8.0 |
|
||||
| 2.11.0 | 23.7.0 |
|
||||
| 2.10.0 | 23.6.0 |
|
||||
| 2.9.0 | 23.5.1 |
|
||||
| 2.8.0 | 23.5.0 |
|
||||
| 2.7.2 | 23.4.0 |
|
||||
| 2.7.1 | 23.3.1 |
|
||||
| 2.7.0 | 23.3.0 |
|
||||
| 2.6.0 | 23.2.0 |
|
||||
| 2.5.3 | 23.1.0 |
|
||||
| 2.5.2 | 23.0.0 |
|
||||
| 2.5.1 | 22.7.0 |
|
||||
| 2.5.0 | 22.6.0 |
|
||||
| 2.4.0 | 22.5.0 |
|
||||
| 2.3.0 | 22.4.0 |
|
||||
| 2.2.1 | 22.3.0 |
|
||||
| 2.2.0 | 22.3.0 |
|
||||
| 2.1.0 | 22.2.0 |
|
||||
| 2.0.1 | 22.1.0 |
|
||||
| 2.0.0 | 22.0.0 |
|
||||
| 1.4.0 | 21.14.0 |
|
||||
| 1.3.0 | 21.13.0 |
|
||||
| 1.2.0 | 21.12.0 |
|
||||
| 1.1.4 | 21.11.0 |
|
||||
| 1.1.3 | 21.10.2 |
|
||||
| 1.1.2 | 21.10.1 |
|
||||
| 1.1.1 | 21.10.0 |
|
||||
| 1.1.0 | 21.9.0 |
|
||||
| 1.0.0 | 21.8.0 |
|
||||
| 0.30.0 | 21.7.0 |
|
||||
| 0.29.0 | 21.6.0 |
|
||||
| 0.28.0 | 21.5.0 |
|
||||
| 0.27.0 | 21.5.0 |
|
||||
| 0.26.0 | 21.4.0 |
|
||||
| 0.25.0 | 21.3.0 |
|
||||
| 0.24.0 | 21.3.0 |
|
||||
| 0.23.0 | 21.2.0 |
|
||||
| 0.22.0 | 21.1.0 |
|
||||
| 0.21.0 | 21.0.0 |
|
||||
| 0.20.2 | 21.0.0 |
|
||||
| 0.20.1 | 21.0.0 |
|
||||
| 0.20.0 | 20.1.0 |
|
||||
| 0.19.0 | 20.0.1 |
|
||||
| 0.18.0 | 20.0.1 |
|
||||
| 0.17.0 | 20.0.0 |
|
||||
| 0.16.1 | 19.5.1 |
|
||||
| 0.16.0 | 19.5.1 |
|
||||
| 0.15.0 | 19.5.0 |
|
||||
| 0.14.0 | 19.4.0 |
|
||||
| 0.13.0 | 19.3.0 |
|
||||
| 0.12.0 | 19.2.2 |
|
||||
| 0.11.0 | 19.2.1 |
|
||||
| 0.10.0 | 19.2.0 |
|
||||
| 0.9.0 | 19.1.0 |
|
||||
| 0.8.0 | 19.0.0 |
|
||||
| 0.7.0 | 18.0.0 |
|
||||
| 0.6.0 | 15.0.0 |
|
||||
|
||||
In the current version of AWX Operator, [there is `image_version` parameter for AWX resource to change which image will be used](https://ansible.readthedocs.io/projects/awx-operator/en/latest/user-guide/advanced-configuration/deploying-a-specific-version-of-awx.html), but it appears that using a version of AWX other than the one bundled with the AWX Operator [is currently not supported](https://ansible.readthedocs.io/projects/awx-operator/en/latest/user-guide/advanced-configuration/deploying-a-specific-version-of-awx.html).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue