1234567891011121314151617 |
- # A one-off to mount PVCs & copy data to them
- apiVersion: v1
- kind: Pod
- metadata:
- name: nginx
- namespace: <namespace>
- spec:
- containers:
- - name: nginx
- image: nginx:1.14.2
- volumeMounts:
- - mountPath: /data
- name: data
- volumes:
- - name: data
- persistentVolumeClaim:
- claimName: <pvc>
|