fix: resize pvs

This commit is contained in:
kurokobo 2022-03-05 20:22:47 +09:00
parent 3a1331aa6b
commit 57790845f9
16 changed files with 20 additions and 20 deletions

View file

@ -8,7 +8,7 @@ spec:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
capacity:
storage: 2Gi
storage: 4Gi
storageClassName: awx-backup-volume
hostPath:
path: /data/backup

View file

@ -9,5 +9,5 @@ spec:
volumeMode: Filesystem
resources:
requests:
storage: 2Gi
storage: 4Gi
storageClassName: awx-backup-volume

View file

@ -8,7 +8,7 @@ spec:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
capacity:
storage: 5Gi
storage: 4Gi
storageClassName: demo-volume
hostPath:
path: /data/demo

View file

@ -9,5 +9,5 @@ spec:
volumeMode: Filesystem
resources:
requests:
storage: 5Gi
storage: 4Gi
storageClassName: demo-volume

View file

@ -8,7 +8,7 @@ spec:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
capacity:
storage: 10Gi
storage: 8Gi
storageClassName: galaxy-volume
hostPath:
path: /data/galaxy

View file

@ -9,5 +9,5 @@ spec:
volumeMode: Filesystem
resources:
requests:
storage: 10Gi
storage: 8Gi
storageClassName: galaxy-volume

View file

@ -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:

View file

@ -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

View file

@ -8,7 +8,7 @@ spec:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
capacity:
storage: 5Gi
storage: 4Gi
storageClassName: git-volume
hostPath:
path: /data/git

View file

@ -9,5 +9,5 @@ spec:
volumeMode: Filesystem
resources:
requests:
storage: 2Gi
storage: 4Gi
storageClassName: git-volume

View file

@ -8,7 +8,7 @@ spec:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
capacity:
storage: 5Gi
storage: 8Gi
storageClassName: registry-volume
hostPath:
path: /data/registry

View file

@ -9,5 +9,5 @@ spec:
volumeMode: Filesystem
resources:
requests:
storage: 5Gi
storage: 8Gi
storageClassName: registry-volume

View file

@ -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

View file

@ -23,5 +23,5 @@ spec:
volumeMode: Filesystem
resources:
requests:
storage: 2Gi
storage: 4Gi
storageClassName: awx-backup-volume

View file

@ -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 👈👈👈

View file

@ -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.