mirror of
https://github.com/Expand-sys/awx-on-k3s
synced 2025-12-16 05:52:15 +11:00
feat: bump galaxy operator version to 2024.5.1 (#357)
This commit is contained in:
parent
d3e9faefaa
commit
ba8ec0355c
5 changed files with 15 additions and 14 deletions
|
|
@ -34,7 +34,7 @@ In this guide, [Galaxy Operator](https://github.com/ansible/galaxy-operator) is
|
||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> Galaxy NG deployed with this procedure will not be used as container registry due to [a known issue](https://github.com/ansible/galaxy-operator/issues/74). If you want to use fully working Galaxy NG, follow [the old version of this guide that uses Pulp Operator instead](https://github.com/kurokobo/awx-on-k3s/tree/2.12.1/galaxy#deploy-on-kubernetes-pulp-operator).
|
> Galaxy NG deployed with this procedure will not be used as container registry due to [a known issue](https://github.com/ansible/galaxy-operator/issues/74). If you want to use fully working Galaxy NG, follow [the old version of this guide that uses Pulp Operator instead](https://github.com/kurokobo/awx-on-k3s/tree/2.12.1/galaxy#deploy-on-kubernetes-pulp-operator).
|
||||||
|
|
||||||
- Galaxy Operator 2024.4.30
|
- Galaxy Operator 2024.5.1
|
||||||
- Galaxy NG
|
- Galaxy NG
|
||||||
- Service: b7b07e96
|
- Service: b7b07e96
|
||||||
- UI: 19fd5a2b
|
- UI: 19fd5a2b
|
||||||
|
|
@ -105,7 +105,7 @@ Modify two `password`s in `galaxy/galaxy/kustomization.yaml`.
|
||||||
- name: galaxy-postgres-configuration
|
- name: galaxy-postgres-configuration
|
||||||
type: Opaque
|
type: Opaque
|
||||||
literals:
|
literals:
|
||||||
- host=galaxy-postgres-13
|
- host=galaxy-postgres-15
|
||||||
- port=5432
|
- port=5432
|
||||||
- database=galaxy
|
- database=galaxy
|
||||||
- username=galaxy
|
- username=galaxy
|
||||||
|
|
@ -124,7 +124,7 @@ Prepare directories for Persistent Volumes defined in `galaxy/galaxy/pv.yaml`.
|
||||||
|
|
||||||
<!-- shell: instance: create directories -->
|
<!-- shell: instance: create directories -->
|
||||||
```bash
|
```bash
|
||||||
sudo mkdir -p /data/galaxy/postgres-13
|
sudo mkdir -p /data/galaxy/postgres-15
|
||||||
sudo mkdir -p /data/galaxy/file
|
sudo mkdir -p /data/galaxy/file
|
||||||
sudo chown 1000:0 /data/galaxy/file
|
sudo chown 1000:0 /data/galaxy/file
|
||||||
sudo mkdir -p /data/galaxy/redis
|
sudo mkdir -p /data/galaxy/redis
|
||||||
|
|
@ -153,7 +153,7 @@ $ kubectl -n galaxy logs -f deployments/galaxy-operator-controller-manager
|
||||||
...
|
...
|
||||||
----- Ansible Task Status Event StdOut (galaxy.ansible.com/v1beta1, Kind=Galaxy, galaxy/galaxy) -----
|
----- Ansible Task Status Event StdOut (galaxy.ansible.com/v1beta1, Kind=Galaxy, galaxy/galaxy) -----
|
||||||
PLAY RECAP *********************************************************************
|
PLAY RECAP *********************************************************************
|
||||||
localhost : ok=131 changed=25 unreachable=0 failed=0 skipped=82 rescued=0 ignored=0
|
localhost : ok=140 changed=25 unreachable=0 failed=0 skipped=87 rescued=0 ignored=0
|
||||||
```
|
```
|
||||||
|
|
||||||
Required objects has been deployed next to Pulp Operator in `galaxy` namespace.
|
Required objects has been deployed next to Pulp Operator in `galaxy` namespace.
|
||||||
|
|
@ -166,7 +166,7 @@ galaxy.galaxy.ansible.com/galaxy 4m44s
|
||||||
|
|
||||||
NAME READY STATUS RESTARTS AGE
|
NAME READY STATUS RESTARTS AGE
|
||||||
pod/galaxy-operator-controller-manager-69bdb6886d-klh28 2/2 Running 0 4m29s
|
pod/galaxy-operator-controller-manager-69bdb6886d-klh28 2/2 Running 0 4m29s
|
||||||
pod/galaxy-postgres-13-0 1/1 Running 0 3m45s
|
pod/galaxy-postgres-15-0 1/1 Running 0 3m45s
|
||||||
pod/galaxy-redis-994cbcbff-46m95 1/1 Running 0 3m26s
|
pod/galaxy-redis-994cbcbff-46m95 1/1 Running 0 3m26s
|
||||||
pod/galaxy-worker-5ffd987855-g56rt 1/1 Running 0 3m30s
|
pod/galaxy-worker-5ffd987855-g56rt 1/1 Running 0 3m30s
|
||||||
pod/galaxy-api-75d6bf46b8-lbt4z 1/1 Running 0 3m19s
|
pod/galaxy-api-75d6bf46b8-lbt4z 1/1 Running 0 3m19s
|
||||||
|
|
@ -175,7 +175,7 @@ pod/galaxy-web-7f75d4c888-bg5pt 1/1 Running 0
|
||||||
|
|
||||||
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
||||||
service/galaxy-operator-controller-manager-metrics-service ClusterIP 10.43.73.43 <none> 8443/TCP 4m29s
|
service/galaxy-operator-controller-manager-metrics-service ClusterIP 10.43.73.43 <none> 8443/TCP 4m29s
|
||||||
service/galaxy-postgres-13 ClusterIP None <none> 5432/TCP 3m45s
|
service/galaxy-postgres-15 ClusterIP None <none> 5432/TCP 3m45s
|
||||||
service/galaxy-web-svc ClusterIP 10.43.114.49 <none> 24880/TCP 3m39s
|
service/galaxy-web-svc ClusterIP 10.43.114.49 <none> 24880/TCP 3m39s
|
||||||
service/galaxy-content-svc ClusterIP 10.43.9.181 <none> 24816/TCP 3m37s
|
service/galaxy-content-svc ClusterIP 10.43.9.181 <none> 24816/TCP 3m37s
|
||||||
service/galaxy-redis-svc ClusterIP 10.43.20.127 <none> 6379/TCP 3m27s
|
service/galaxy-redis-svc ClusterIP 10.43.20.127 <none> 6379/TCP 3m27s
|
||||||
|
|
@ -198,7 +198,7 @@ replicaset.apps/galaxy-content-6d7dd695c5 1 1
|
||||||
replicaset.apps/galaxy-web-7f75d4c888 1 1 1 3m40s
|
replicaset.apps/galaxy-web-7f75d4c888 1 1 1 3m40s
|
||||||
|
|
||||||
NAME READY AGE
|
NAME READY AGE
|
||||||
statefulset.apps/galaxy-postgres-13 1/1 3m45s
|
statefulset.apps/galaxy-postgres-15 1/1 3m45s
|
||||||
|
|
||||||
NAME CLASS HOSTS ADDRESS PORTS AGE
|
NAME CLASS HOSTS ADDRESS PORTS AGE
|
||||||
ingress.networking.k8s.io/galaxy-ingress traefik galaxy.example.com 192.168.0.221 80, 443 2m9s
|
ingress.networking.k8s.io/galaxy-ingress traefik galaxy.example.com 192.168.0.221 80, 443 2m9s
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ metadata:
|
||||||
name: galaxy
|
name: galaxy
|
||||||
spec:
|
spec:
|
||||||
# These parameters are designed for use with:
|
# These parameters are designed for use with:
|
||||||
# - Galaxy Operator: 2024.4.30
|
# - Galaxy Operator: 2024.5.1
|
||||||
# https://github.com/ansible/galaxy-operator/blob/2024.4.30/README.md
|
# https://github.com/ansible/galaxy-operator/blob/2024.5.1/README.md
|
||||||
|
|
||||||
image: quay.io/ansible/galaxy-ng
|
image: quay.io/ansible/galaxy-ng
|
||||||
image_version: b7b07e96
|
image_version: b7b07e96
|
||||||
|
|
@ -24,6 +24,7 @@ spec:
|
||||||
file_storage_size: 8Gi
|
file_storage_size: 8Gi
|
||||||
|
|
||||||
postgres_configuration_secret: galaxy-postgres-configuration
|
postgres_configuration_secret: galaxy-postgres-configuration
|
||||||
|
postgres_data_volume_init: true
|
||||||
postgres_storage_class: galaxy-postgres-volume
|
postgres_storage_class: galaxy-postgres-volume
|
||||||
postgres_storage_requirements:
|
postgres_storage_requirements:
|
||||||
requests:
|
requests:
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ secretGenerator:
|
||||||
- name: galaxy-postgres-configuration
|
- name: galaxy-postgres-configuration
|
||||||
type: Opaque
|
type: Opaque
|
||||||
literals:
|
literals:
|
||||||
- host=galaxy-postgres-13
|
- host=galaxy-postgres-15
|
||||||
- port=5432
|
- port=5432
|
||||||
- database=galaxy
|
- database=galaxy
|
||||||
- username=galaxy
|
- username=galaxy
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolume
|
kind: PersistentVolume
|
||||||
metadata:
|
metadata:
|
||||||
name: galaxy-postgres-13-volume
|
name: galaxy-postgres-15-volume
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
|
|
@ -11,7 +11,7 @@ spec:
|
||||||
storage: 8Gi
|
storage: 8Gi
|
||||||
storageClassName: galaxy-postgres-volume
|
storageClassName: galaxy-postgres-volume
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /data/galaxy/postgres-13
|
path: /data/galaxy/postgres-15
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,8 @@ secretGenerator:
|
||||||
- operator=eda
|
- operator=eda
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- github.com/ansible/galaxy-operator/config/default?ref=2024.4.30
|
- github.com/ansible/galaxy-operator/config/default?ref=2024.5.1
|
||||||
|
|
||||||
images:
|
images:
|
||||||
- name: quay.io/ansible/galaxy-operator
|
- name: quay.io/ansible/galaxy-operator
|
||||||
newTag: 2024.4.30
|
newTag: 2024.5.1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue