diff --git a/deploy/charts/checkmk/templates/cluster-collector-deploy.yaml b/deploy/charts/checkmk/templates/cluster-collector-deploy.yaml index e62f128..5bf5ce1 100644 --- a/deploy/charts/checkmk/templates/cluster-collector-deploy.yaml +++ b/deploy/charts/checkmk/templates/cluster-collector-deploy.yaml @@ -47,6 +47,7 @@ spec: args: - "--log-level={{ .Values.clusterCollector.logLevel }}" - "--address={{ default "0.0.0.0" .Values.clusterCollector.address }}" + - "--cache-maxsize={{ default "10000" .Values.clusterCollector.cacheMaxsize }}" - "--reader-whitelist={{ .Release.Namespace }}:{{ template "checkmk.serviceAccountName.checkmk" . }}" - "--writer-whitelist={{ .Release.Namespace }}:{{ template "checkmk.serviceAccountName.nodeCollector.containerMetricsCollector" . }},{{ .Release.Namespace }}:{{ template "checkmk.serviceAccountName.nodeCollector.machineSectionsCollector" . }}" {{- if .Values.tlsCommunication.enabled }} diff --git a/deploy/charts/checkmk/values.yaml b/deploy/charts/checkmk/values.yaml index ce566ab..7650b81 100644 --- a/deploy/charts/checkmk/values.yaml +++ b/deploy/charts/checkmk/values.yaml @@ -97,6 +97,9 @@ clusterCollector: # can be: "debug", "info", "warning" (default), "critical" logLevel: warning + # cacheMaxsize set the maximum number of metric entries the cluster collector can hold at a time + cacheMaxsize: "10000" + podAnnotations: {} podSecurityContext: {}