mirror of
https://github.com/Expand-sys/awx-on-k3s
synced 2025-12-16 05:52:15 +11:00
Merge pull request #67 from kurokobo/0.20.2
feat: bump operator version to 0.20.2
This commit is contained in:
commit
718e326b14
6 changed files with 10 additions and 9 deletions
|
|
@ -29,7 +29,7 @@ An example implementation of AWX on single node K3s using AWX Operator, with eas
|
||||||
- CentOS Stream 8 (Minimal)
|
- CentOS Stream 8 (Minimal)
|
||||||
- K3s v1.22.7+k3s1
|
- K3s v1.22.7+k3s1
|
||||||
- Products that will be deployed:
|
- Products that will be deployed:
|
||||||
- AWX Operator 0.20.1
|
- AWX Operator 0.20.2
|
||||||
- AWX 21.0.0
|
- AWX 21.0.0
|
||||||
- PostgreSQL 12
|
- PostgreSQL 12
|
||||||
|
|
||||||
|
|
@ -37,7 +37,7 @@ An example implementation of AWX on single node K3s using AWX Operator, with eas
|
||||||
|
|
||||||
- [K3s - Lightweight Kubernetes](https://rancher.com/docs/k3s/latest/en/)
|
- [K3s - Lightweight Kubernetes](https://rancher.com/docs/k3s/latest/en/)
|
||||||
- [INSTALL.md on ansible/awx](https://github.com/ansible/awx/blob/21.0.0/INSTALL.md) @21.0.0
|
- [INSTALL.md on ansible/awx](https://github.com/ansible/awx/blob/21.0.0/INSTALL.md) @21.0.0
|
||||||
- [README.md on ansible/awx-operator](https://github.com/ansible/awx-operator/blob/0.20.1/README.md) @0.20.1
|
- [README.md on ansible/awx-operator](https://github.com/ansible/awx-operator/blob/0.20.2/README.md) @0.20.2
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
|
|
@ -83,7 +83,7 @@ Install specified version of AWX Operator. Note that this procedure is applicabl
|
||||||
cd ~
|
cd ~
|
||||||
git clone https://github.com/ansible/awx-operator.git
|
git clone https://github.com/ansible/awx-operator.git
|
||||||
cd awx-operator
|
cd awx-operator
|
||||||
git checkout 0.20.1
|
git checkout 0.20.2
|
||||||
```
|
```
|
||||||
|
|
||||||
Export the name of the namespace where you want to deploy AWX Operator as the environment variable `NAMESPACE` and run `make deploy`. The default namespace is `awx`.
|
Export the name of the namespace where you want to deploy AWX Operator as the environment variable `NAMESPACE` and run `make deploy`. The default namespace is `awx`.
|
||||||
|
|
@ -190,7 +190,7 @@ $ kubectl -n awx logs -f deployments/awx-operator-controller-manager -c awx-mana
|
||||||
...
|
...
|
||||||
----- Ansible Task Status Event StdOut (awx.ansible.com/v1beta1, Kind=AWX, awx/awx) -----
|
----- Ansible Task Status Event StdOut (awx.ansible.com/v1beta1, Kind=AWX, awx/awx) -----
|
||||||
PLAY RECAP *********************************************************************
|
PLAY RECAP *********************************************************************
|
||||||
localhost : ok=65 changed=0 unreachable=0 failed=0 skipped=43 rescued=0 ignored=0
|
localhost : ok=65 changed=0 unreachable=0 failed=0 skipped=44 rescued=0 ignored=0
|
||||||
```
|
```
|
||||||
|
|
||||||
Required objects has been deployed next to AWX Operator in `awx` namespace.
|
Required objects has been deployed next to AWX Operator in `awx` namespace.
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,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_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_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/0.20.1/roles/backup) for acceptable fields. | `{'deployment_name':'awx','backup_pvc':'awx-backup-claim'}` |
|
| `awxbackup_spec` | The `spec` of the `AWXBackup` resource. Refer [official documentation](https://github.com/ansible/awx-operator/tree/0.20.2/roles/backup) for acceptable fields. | `{'deployment_name':'awx','backup_pvc':'awx-backup-claim'}` |
|
||||||
| `awxbackup_timeout` | Time to wait for backup to complete, in seconds. If exceeded, the playbook will fail. | `600` |
|
| `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. **Note that the actual backup data will remain in the PVC after the `AWXBackup` resource is deleted.** | `30` |
|
| `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. **Note that the actual backup data will remain in the PVC after the `AWXBackup` resource is deleted.** | `30` |
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ metadata:
|
||||||
name: awx
|
name: awx
|
||||||
spec:
|
spec:
|
||||||
# These parameters are designed for use with:
|
# These parameters are designed for use with:
|
||||||
# - AWX Operator: 0.20.1
|
# - AWX Operator: 0.20.2
|
||||||
# https://github.com/ansible/awx-operator/blob/0.20.1/README.md
|
# https://github.com/ansible/awx-operator/blob/0.20.2/README.md
|
||||||
# - AWX: 21.0.0
|
# - AWX: 21.0.0
|
||||||
# https://github.com/ansible/awx/blob/21.0.0/INSTALL.md
|
# https://github.com/ansible/awx/blob/21.0.0/INSTALL.md
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@ $ kubectl -n awx logs -f deployments/awx-operator-controller-manager -c awx-mana
|
||||||
...
|
...
|
||||||
----- Ansible Task Status Event StdOut (awx.ansible.com/v1beta1, Kind=AWX, awx/awx) -----
|
----- Ansible Task Status Event StdOut (awx.ansible.com/v1beta1, Kind=AWX, awx/awx) -----
|
||||||
PLAY RECAP *********************************************************************
|
PLAY RECAP *********************************************************************
|
||||||
localhost : ok=67 changed=0 unreachable=0 failed=0 skipped=41 rescued=0 ignored=0
|
localhost : ok=67 changed=0 unreachable=0 failed=0 skipped=42 rescued=0 ignored=0
|
||||||
```
|
```
|
||||||
|
|
||||||
This will create AWXRestore object in the namespace, and now your AWX is restored.
|
This will create AWXRestore object in the namespace, and now your AWX is restored.
|
||||||
|
|
|
||||||
|
|
@ -153,7 +153,7 @@ Typical solutions are one of the following:
|
||||||
ee_resource_requirements: {} 👈👈👈
|
ee_resource_requirements: {} 👈👈👈
|
||||||
```
|
```
|
||||||
|
|
||||||
- You can specify more specific value for each containers. Refer [official documentation](https://github.com/ansible/awx-operator/blob/0.20.1/README.md#containers-resource-requirements) for details.
|
- You can specify more specific value for each containers. Refer [official documentation](https://github.com/ansible/awx-operator/blob/0.20.2/README.md#containers-resource-requirements) for details.
|
||||||
- In this way you can run AWX with fewer resources, but you may encounter performance issues.
|
- In this way you can run AWX with fewer resources, but you may encounter performance issues.
|
||||||
|
|
||||||
### The Pod is `Pending` with "1 pod has unbound immediate PersistentVolumeClaims." event
|
### The Pod is `Pending` with "1 pod has unbound immediate PersistentVolumeClaims." event
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ Note that once you upgrade AWX Operator, your AWX will also be upgraded automati
|
||||||
|
|
||||||
| AWX Operator | AWX |
|
| AWX Operator | AWX |
|
||||||
| - | - |
|
| - | - |
|
||||||
|
| 0.20.2 | 21.0.0 |
|
||||||
| 0.20.1 | 21.0.0 |
|
| 0.20.1 | 21.0.0 |
|
||||||
| 0.20.0 | 20.1.0 |
|
| 0.20.0 | 20.1.0 |
|
||||||
| 0.19.0 | 20.0.1 |
|
| 0.19.0 | 20.0.1 |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue