diff --git a/plugins/scheduler-k3s/templates/helm-config/ingress-nginx.yaml b/plugins/scheduler-k3s/templates/helm-config/ingress-nginx.yaml index 54eb2a67f..0e317922e 100644 --- a/plugins/scheduler-k3s/templates/helm-config/ingress-nginx.yaml +++ b/plugins/scheduler-k3s/templates/helm-config/ingress-nginx.yaml @@ -4,12 +4,12 @@ controller: config: # Print access log to file instead of stdout # Separating acces logs from the rest - access-log-path: "/data/access.log" - error-log-path: "/data/error.log" + access-log-path: "/var/log/nginx/access.log" + error-log-path: "/var/log/nginx/error.log" log-format-escape-json: "true" extraVolumeMounts: - name: data - mountPath: /data + mountPath: /var/log/nginx extraVolumes: - name: data emptyDir: {} @@ -19,13 +19,13 @@ controller: args: - /bin/sh - -c - - tail -n+1 -F /data/access.log + - tail -n+1 -F /var/log/nginx/access.log imagePullPolicy: Always resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - - mountPath: /data + - mountPath: /var/log/nginx name: data extraContainers: - name: stream-errorlog @@ -33,13 +33,13 @@ controller: args: - /bin/sh - -c - - tail -n+1 -F /data/error.log + - tail -n+1 -F /var/log/nginx/error.log imagePullPolicy: Always resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - - mountPath: /data + - mountPath: /var/log/nginx name: data allowSnippetAnnotations: true podAnnotations: