mirror of
https://github.com/Expand-sys/awx-on-k3s
synced 2025-12-15 13:32:14 +11:00
fix: resize pvs
This commit is contained in:
parent
3a1331aa6b
commit
57790845f9
16 changed files with 20 additions and 20 deletions
|
|
@ -8,7 +8,7 @@ spec:
|
|||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
capacity:
|
||||
storage: 2Gi
|
||||
storage: 4Gi
|
||||
storageClassName: awx-backup-volume
|
||||
hostPath:
|
||||
path: /data/backup
|
||||
|
|
|
|||
|
|
@ -9,5 +9,5 @@ spec:
|
|||
volumeMode: Filesystem
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
storage: 4Gi
|
||||
storageClassName: awx-backup-volume
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ spec:
|
|||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
capacity:
|
||||
storage: 5Gi
|
||||
storage: 4Gi
|
||||
storageClassName: demo-volume
|
||||
hostPath:
|
||||
path: /data/demo
|
||||
|
|
|
|||
|
|
@ -9,5 +9,5 @@ spec:
|
|||
volumeMode: Filesystem
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
storage: 4Gi
|
||||
storageClassName: demo-volume
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ spec:
|
|||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
capacity:
|
||||
storage: 10Gi
|
||||
storage: 8Gi
|
||||
storageClassName: galaxy-volume
|
||||
hostPath:
|
||||
path: /data/galaxy
|
||||
|
|
|
|||
|
|
@ -9,5 +9,5 @@ spec:
|
|||
volumeMode: Filesystem
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
storage: 8Gi
|
||||
storageClassName: galaxy-volume
|
||||
|
|
|
|||
|
|
@ -23,13 +23,13 @@ spec:
|
|||
postgres_storage_class: galaxy-postgres-volume
|
||||
postgres_storage_requirements:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
storage: 8Gi
|
||||
redis_storage_class: galaxy-redis-volume
|
||||
|
||||
storage_type: file
|
||||
file_storage_storage_class: galaxy-pulp-volume
|
||||
file_storage_access_mode: ReadWriteOnce
|
||||
file_storage_size: 10Gi
|
||||
file_storage_size: 8Gi
|
||||
|
||||
pulp_settings:
|
||||
GALAXY_FEATURE_FLAGS:
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ spec:
|
|||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
capacity:
|
||||
storage: 2Gi
|
||||
storage: 8Gi
|
||||
storageClassName: galaxy-postgres-volume
|
||||
hostPath:
|
||||
path: /data/galaxy/postgres
|
||||
|
|
@ -23,7 +23,7 @@ spec:
|
|||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
capacity:
|
||||
storage: 10Gi
|
||||
storage: 8Gi
|
||||
storageClassName: galaxy-pulp-volume
|
||||
hostPath:
|
||||
path: /data/galaxy/pulp
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ spec:
|
|||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
capacity:
|
||||
storage: 5Gi
|
||||
storage: 4Gi
|
||||
storageClassName: git-volume
|
||||
hostPath:
|
||||
path: /data/git
|
||||
|
|
|
|||
|
|
@ -9,5 +9,5 @@ spec:
|
|||
volumeMode: Filesystem
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
storage: 4Gi
|
||||
storageClassName: git-volume
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ spec:
|
|||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
capacity:
|
||||
storage: 5Gi
|
||||
storage: 8Gi
|
||||
storageClassName: registry-volume
|
||||
hostPath:
|
||||
path: /data/registry
|
||||
|
|
|
|||
|
|
@ -9,5 +9,5 @@ spec:
|
|||
volumeMode: Filesystem
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
storage: 8Gi
|
||||
storageClassName: registry-volume
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ spec:
|
|||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
capacity:
|
||||
storage: 2Gi
|
||||
storage: 8Gi
|
||||
storageClassName: awx-postgres-volume
|
||||
hostPath:
|
||||
path: /data/postgres
|
||||
|
|
@ -38,7 +38,7 @@ spec:
|
|||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
capacity:
|
||||
storage: 2Gi
|
||||
storage: 4Gi
|
||||
storageClassName: awx-backup-volume
|
||||
hostPath:
|
||||
path: /data/backup
|
||||
|
|
|
|||
|
|
@ -23,5 +23,5 @@ spec:
|
|||
volumeMode: Filesystem
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
storage: 4Gi
|
||||
storageClassName: awx-backup-volume
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ spec:
|
|||
# postgres_storage_class: awx-postgres-volume 👈👈👈
|
||||
# postgres_storage_requirements: 👈👈👈
|
||||
# requests: 👈👈👈
|
||||
# storage: 2Gi 👈👈👈
|
||||
# storage: 8Gi 👈👈👈
|
||||
|
||||
projects_persistence: true
|
||||
projects_existing_claim: awx-projects-claim
|
||||
|
|
@ -100,7 +100,7 @@ Comment out following unnecessary lines which related to `awx-postgres-volume` i
|
|||
# - ReadWriteOnce 👈👈👈
|
||||
# persistentVolumeReclaimPolicy: Retain 👈👈👈
|
||||
# capacity: 👈👈👈
|
||||
# storage: 2Gi 👈👈👈
|
||||
# storage: 8Gi 👈👈👈
|
||||
# storageClassName: awx-postgres-volume 👈👈👈
|
||||
# hostPath: 👈👈👈
|
||||
# path: /data/postgres 👈👈👈
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@ Check the `STATUS` of your PVs and ensure your PVs doesn't have `Available` or `
|
|||
$ kubectl get pv
|
||||
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
|
||||
awx-projects-volume 2Gi RWO Retain Released awx/awx-projects-claim awx-projects-volume 17h
|
||||
awx-postgres-volume 2Gi RWO Retain Released awx/postgres-awx-postgres-0 awx-postgres-volume 17h
|
||||
awx-postgres-volume 8Gi RWO Retain Released awx/postgres-awx-postgres-0 awx-postgres-volume 17h
|
||||
```
|
||||
|
||||
Probably this is the second (or more) time to deploy AWX for you. These PVs which have `Released` state are tied to your old (and probably no longer exists now) PVCs you created in the past.
|
||||
|
|
|
|||
Loading…
Reference in a new issue