storage
This commit is contained in:
17
storage/pod-test.yaml
Normal file
17
storage/pod-test.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: test-nfs-pod
|
||||
namespace: nfs-provisioner
|
||||
spec:
|
||||
containers:
|
||||
- name: busybox
|
||||
image: busybox
|
||||
command: [ "sleep", "3600" ]
|
||||
volumeMounts:
|
||||
- name: nfs-volume
|
||||
mountPath: /data
|
||||
volumes:
|
||||
- name: nfs-volume
|
||||
persistentVolumeClaim:
|
||||
claimName: test-nfs-pvc
|
||||
Reference in New Issue
Block a user