diff --git a/osm-seed/templates/web/web-deployment.yaml b/osm-seed/templates/web/web-deployment.yaml index 7f07f511..91cf36a0 100644 --- a/osm-seed/templates/web/web-deployment.yaml +++ b/osm-seed/templates/web/web-deployment.yaml @@ -107,6 +107,14 @@ spec: value: {{ .Values.web.env.NEW_RELIC_LICENSE_KEY | default ""}} - name: NEW_RELIC_APP_NAME value: {{ .Values.web.env.NEW_RELIC_APP_NAME | default ""}} + volumeMounts: + - mountPath: /dev/shm + name: shared-memory + volumes: + - emptyDir: + medium: Memory + sizeLimit: {{ .Values.web.sharedMemorySize }} + name: shared-memory {{- if .Values.web.nodeSelector.enabled }} nodeSelector: {{ .Values.web.nodeSelector.label_key }} : {{ .Values.web.nodeSelector.label_value }} diff --git a/osm-seed/values.yaml b/osm-seed/values.yaml index e7679213..1ef60886 100644 --- a/osm-seed/values.yaml +++ b/osm-seed/values.yaml @@ -147,6 +147,7 @@ web: minReplicas: 1 maxReplicas: 3 cpuUtilization: 80 + sharedMemorySize: 256Mi # ==================================================================================================== # Variables for memcached. Memcached is used to store session cookies # ====================================================================================================