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
|
||||
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: nfs-transfer-pod
|
||||
namespace: jellyfin
|
||||
namespace: wikijs
|
||||
spec:
|
||||
containers:
|
||||
- name: busybox
|
||||
@@ -14,4 +14,4 @@ spec:
|
||||
volumes:
|
||||
- name: transfer
|
||||
persistentVolumeClaim:
|
||||
claimName: jellyfin-config
|
||||
claimName: cnpg-wikijs-cluster-1
|
||||
|
||||
Reference in New Issue
Block a user