mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-05 04:56:37 -03:00
feat(/dev/shm): mount /dev/shm to memory for all containers by default (#230)
* feat(/dev/shm): mount /dev/shm to memory for all containers by default * fix tests
This commit is contained in:
@@ -15,4 +15,4 @@ maintainers:
|
||||
name: common
|
||||
sources: null
|
||||
type: library
|
||||
version: 10.5.12
|
||||
version: 10.6.0
|
||||
|
||||
@@ -809,6 +809,20 @@ persistence:
|
||||
# specify a size for memory backed volumes.
|
||||
sizeLimit: # 1Gi
|
||||
|
||||
# -- Create an emptyDir volume to for /dev/shm
|
||||
# [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#emptydir)
|
||||
# @default -- See below
|
||||
shm:
|
||||
enabled: true
|
||||
type: emptyDir
|
||||
mountPath: /dev/shm
|
||||
# -- Set the medium to "Memory" to mount a tmpfs (RAM-backed filesystem) instead
|
||||
# of the storage medium that backs the node.
|
||||
medium: Memory
|
||||
# -- If the `SizeMemoryBackedVolumes` feature gate is enabled, you can
|
||||
# specify a size for memory backed volumes.
|
||||
sizeLimit: # 1Gi
|
||||
|
||||
# -- Example of a hostPath mount
|
||||
# [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#hostpath)
|
||||
# @default -- See below
|
||||
|
||||
@@ -13,6 +13,8 @@ tests:
|
||||
value:
|
||||
- mountPath: /shared
|
||||
name: shared
|
||||
- mountPath: /dev/shm
|
||||
name: shm
|
||||
- mountPath: /tmp
|
||||
name: temp
|
||||
- mountPath: /var/logs
|
||||
|
||||
Reference in New Issue
Block a user