chore: testing pods
This commit is contained in:
23
transfer/postgres-pod.yaml
Normal file
23
transfer/postgres-pod.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: pg-rescue
|
||||
namespace: wikijs
|
||||
spec:
|
||||
containers:
|
||||
- name: rescue
|
||||
image: postgres:17
|
||||
command: ["sleep", "infinity"]
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /var/lib/postgresql/data
|
||||
- name: wal
|
||||
mountPath: /var/lib/postgresql/wal
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: cnpg-wikijs-cluster-2
|
||||
- name: wal
|
||||
persistentVolumeClaim:
|
||||
claimName: cnpg-wikijs-cluster-2-wal
|
||||
Reference in New Issue
Block a user