Skip to content

Instantly share code, notes, and snippets.

@h0hmj
Last active March 1, 2023 08:41
Show Gist options
  • Save h0hmj/f6f25c5f31a024803205ed51ed12a2cf to your computer and use it in GitHub Desktop.
Save h0hmj/f6f25c5f31a024803205ed51ed12a2cf to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: curvefs-csi-test
spec:
containers:
- name: web-server
image: nginx
volumeMounts:
- name: mypvc
mountPath: /var/lib/www/html
volumes:
- name: mypvc
persistentVolumeClaim:
claimName: curvefs-pvc-test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment