Browse Source

Change content sample-claim.yaml to yaml format

pull/2/head
Anton Patsev 4 years ago
committed by GitHub
parent
commit
fcc8fe7912
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 32
      setup/sample-claim.yaml

32
setup/sample-claim.yaml

@ -1,19 +1,13 @@
{
"apiVersion": "v1",
"kind": "PersistentVolumeClaim",
"metadata": {
"name": "pvc-test",
"annotations": {
"volume.beta.kubernetes.io/storage-class": "hostpath-provisioner"
}
},
"spec": {
"accessModes": [ "ReadWriteOnce" ],
"resources": {
"requests": {
"storage": "5Gi"
},
"volumeName": "pv-test"
}
}
}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: pvc-test
annotations:
volume.beta.kubernetes.io/storage-class: hostpath-provisioner
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
volumeName: pv-test

Loading…
Cancel
Save