Browse Source

Merge pull request #2 from patsevanton/patch-1

Change content sample-claim.yaml to yaml format
master
Nicolas Massé 4 years ago
committed by GitHub
parent
commit
a37f8b037d
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
"apiVersion": "v1", kind: PersistentVolumeClaim
"kind": "PersistentVolumeClaim", metadata:
"metadata": { name: pvc-test
"name": "pvc-test", annotations:
"annotations": { volume.beta.kubernetes.io/storage-class: hostpath-provisioner
"volume.beta.kubernetes.io/storage-class": "hostpath-provisioner" spec:
} accessModes:
}, - ReadWriteOnce
"spec": { resources:
"accessModes": [ "ReadWriteOnce" ], requests:
"resources": { storage: 5Gi
"requests": { volumeName: pv-test
"storage": "5Gi"
},
"volumeName": "pv-test"
}
}
}

Loading…
Cancel
Save