Merge pull request #50 from kurokobo/resize-pv

fix: resize pvs
This commit is contained in:
kurokobo 2022-03-05 20:23:17 +09:00 committed by GitHub
commit e4b9cb08aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 20 additions and 20 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -23,13 +23,13 @@ spec:
postgres_storage_class: galaxy-postgres-volume postgres_storage_class: galaxy-postgres-volume
postgres_storage_requirements: postgres_storage_requirements:
requests: requests:
storage: 2Gi storage: 8Gi
redis_storage_class: galaxy-redis-volume redis_storage_class: galaxy-redis-volume
storage_type: file storage_type: file
file_storage_storage_class: galaxy-pulp-volume file_storage_storage_class: galaxy-pulp-volume
file_storage_access_mode: ReadWriteOnce file_storage_access_mode: ReadWriteOnce
file_storage_size: 10Gi file_storage_size: 8Gi
pulp_settings: pulp_settings:
GALAXY_FEATURE_FLAGS: GALAXY_FEATURE_FLAGS:

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -57,7 +57,7 @@ spec:
# postgres_storage_class: awx-postgres-volume 👈👈👈 # postgres_storage_class: awx-postgres-volume 👈👈👈
# postgres_storage_requirements: 👈👈👈 # postgres_storage_requirements: 👈👈👈
# requests: 👈👈👈 # requests: 👈👈👈
# storage: 2Gi 👈👈👈 # storage: 8Gi 👈👈👈
projects_persistence: true projects_persistence: true
projects_existing_claim: awx-projects-claim projects_existing_claim: awx-projects-claim
@ -100,7 +100,7 @@ Comment out following unnecessary lines which related to `awx-postgres-volume` i
# - ReadWriteOnce 👈👈👈 # - ReadWriteOnce 👈👈👈
# persistentVolumeReclaimPolicy: Retain 👈👈👈 # persistentVolumeReclaimPolicy: Retain 👈👈👈
# capacity: 👈👈👈 # capacity: 👈👈👈
# storage: 2Gi 👈👈👈 # storage: 8Gi 👈👈👈
# storageClassName: awx-postgres-volume 👈👈👈 # storageClassName: awx-postgres-volume 👈👈👈
# hostPath: 👈👈👈 # hostPath: 👈👈👈
# path: /data/postgres 👈👈👈 # 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 $ kubectl get pv
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE 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-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. 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.