adding volume test and demo files

This commit is contained in:
baschno
2025-01-16 21:24:52 +01:00
parent 922a47dc60
commit 31b2b16ad8
6 changed files with 187 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
apiVersion: v1
kind: Pod
metadata:
name: longhorn-demo
namespace: default
spec:
containers:
- name: demo-container
image: nginx:latest
volumeMounts:
- mountPath: /usr/share/nginx/html
name: longhorn-volume
volumes:
- name: longhorn-volume
persistentVolumeClaim:
claimName: longhorn-test-pvc