From 6923977cd13317d3f192e63c3a000beeddef241b Mon Sep 17 00:00:00 2001 From: pierre Date: Fri, 13 Mar 2026 10:41:47 +0000 Subject: [PATCH] putting the inotify file into a shared memory medium --- Nginx.kube.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Nginx.kube.yaml b/Nginx.kube.yaml index fd880f9..71b5002 100644 --- a/Nginx.kube.yaml +++ b/Nginx.kube.yaml @@ -44,6 +44,8 @@ spec: mountPath: /etc/nginx/deny.d/ - name: blacklisted-sessions-map mountPath: /etc/nginx/blacklisted.d/ + - name: blacklisted-memory-volume + mountPath: /etc/nginx/blacklisted.memory.d/ - name: reverse-proxy-ssl mountPath: /etc/nginx/ssl/ - mountPath: /etc/nginx/ @@ -69,7 +71,7 @@ spec: pkill -HUP nginx done volumeMounts: - - name: blacklisted-sessions-map + - name: blacklisted-memory-volume mountPath: /etc/nginx/blacklisted.d/ @@ -105,6 +107,9 @@ spec: - name: blacklisted-sessions-map persistentVolumeClaim: claimName: blacklisted-sessions-map + - name: blacklisted-memory-volume + emptyDir: + medium: Memory --- apiVersion: v1 kind: Service