Provide writable cache for read-only Nginx
Validate, publish and promote gridcraft / validate (push) Successful in 14s
Validate, publish and promote gridcraft / publish (push) Successful in 35s

This commit is contained in:
feedc0de
2026-10-18 20:05:52 +02:00
parent 9e8fdb809b
commit 230e6d2fb9
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -63,6 +63,7 @@ spec:
failureThreshold: 3
volumeMounts:
- {name: tmp, mountPath: /tmp}
- {name: nginx-cache, mountPath: /var/cache/nginx}
- name: nginx-exporter
image: {{ .Values.metrics.exporter.image }}
args: [--nginx.scrape-uri=http://127.0.0.1:8081/nginx_status]
@@ -81,6 +82,8 @@ spec:
volumes:
- name: tmp
emptyDir: {sizeLimit: 1Gi}
- name: nginx-cache
emptyDir: {sizeLimit: 64Mi}
{{- with .Values.nodeSelector }}
nodeSelector: {{- toYaml . | nindent 8 }}
{{- end }}