Delete content/bn/examples/service/storage directory
parent
800fb30cd2
commit
2f0b3a618e
|
@ -1,28 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: rro
|
|
||||||
spec:
|
|
||||||
volumes:
|
|
||||||
- name: mnt
|
|
||||||
hostPath:
|
|
||||||
# tmpfs is mounted on /mnt/tmpfs
|
|
||||||
path: /mnt
|
|
||||||
containers:
|
|
||||||
- name: busybox
|
|
||||||
image: busybox
|
|
||||||
args: ["sleep", "infinity"]
|
|
||||||
volumeMounts:
|
|
||||||
# /mnt-rro/tmpfs is not writable
|
|
||||||
- name: mnt
|
|
||||||
mountPath: /mnt-rro
|
|
||||||
readOnly: true
|
|
||||||
mountPropagation: None
|
|
||||||
recursiveReadOnly: Enabled
|
|
||||||
# /mnt-ro/tmpfs is writable
|
|
||||||
- name: mnt
|
|
||||||
mountPath: /mnt-ro
|
|
||||||
readOnly: true
|
|
||||||
# /mnt-rw/tmpfs is writable
|
|
||||||
- name: mnt
|
|
||||||
mountPath: /mnt-rw
|
|
|
@ -1,14 +0,0 @@
|
||||||
apiVersion: storage.k8s.io/v1
|
|
||||||
kind: StorageClass
|
|
||||||
metadata:
|
|
||||||
name: low-latency
|
|
||||||
annotations:
|
|
||||||
storageclass.kubernetes.io/is-default-class: "false"
|
|
||||||
provisioner: csi-driver.example-vendor.example
|
|
||||||
reclaimPolicy: Retain # default value is Delete
|
|
||||||
allowVolumeExpansion: true
|
|
||||||
mountOptions:
|
|
||||||
- discard # this might enable UNMAP / TRIM at the block storage layer
|
|
||||||
volumeBindingMode: WaitForFirstConsumer
|
|
||||||
parameters:
|
|
||||||
guaranteedReadWriteLatency: "true" # provider-specific
|
|
Loading…
Reference in New Issue