Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit ecddc26

Browse files
committed
更新 k8s.yaml,为 PostgreSQL 数据卷添加 subPath 配置以优化数据存储路径
1 parent ece6bb9 commit ecddc26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

k8s.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ spec:
6565
volumeMounts:
6666
- mountPath: /var/lib/postgresql/data
6767
name: postgres-data
68+
subPath: data
6869
restartPolicy: Always
6970
volumes:
7071
- name: postgres-data

0 commit comments

Comments
 (0)