From 8635d0e8b7abee7b4752935eee0c2e1e299dab01 Mon Sep 17 00:00:00 2001 From: Neeptossss Date: Tue, 17 Oct 2023 14:21:05 +0200 Subject: [PATCH] fix(daemonset): readonly volume & housekeeping --- cadvisor.daemonset.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cadvisor.daemonset.yaml b/cadvisor.daemonset.yaml index e769922..b0416b4 100644 --- a/cadvisor.daemonset.yaml +++ b/cadvisor.daemonset.yaml @@ -27,7 +27,7 @@ spec: readOnly: true - name: var-run mountPath: /var/run - readOnly: false + readOnly: true - name: sys mountPath: /sys readOnly: true @@ -42,8 +42,7 @@ spec: containerPort: 8080 protocol: TCP args: - - --profiling - - --housekeeping_interval=1s + - --housekeeping_interval=30s terminationGracePeriodSeconds: 30 volumes: - name: rootfs