fix: update pg hostname and PVC claim names
- Change hostname from vkvm-us1 to zgocloud-us1 - Update persistent volume claim name from pg-data-local-vkus1-pvc to pg-data-local-zgus1-pvc - Modify storage class name to local-zgus1 These updates ensure that the PostgreSQL deployment references the correct Kubernetes node and persistent volume, aligning with the current infrastructure and deployment strategy.
This commit is contained in:
parent
c4f98c10a1
commit
27150fa91c
@ -18,7 +18,7 @@ spec:
|
||||
spec:
|
||||
nodeSelector:
|
||||
region: us
|
||||
kubernetes.io/hostname: vkvm-us1
|
||||
kubernetes.io/hostname: zgocloud-us1
|
||||
containers:
|
||||
- name: pg
|
||||
#image: postgres:16
|
||||
@ -41,5 +41,5 @@ spec:
|
||||
volumes:
|
||||
- name: pg-data
|
||||
persistentVolumeClaim:
|
||||
claimName: pg-data-local-vkus1-pvc
|
||||
claimName: pg-data-local-zgus1-pvc
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: pg-data-local-vkus1-pvc
|
||||
name: pg-data-local-zgus1-pvc
|
||||
namespace: lobe-chat
|
||||
spec:
|
||||
accessModes:
|
||||
@ -10,5 +10,5 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
storageClassName: local-vkus1
|
||||
storageClassName: local-zgus1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user