diff --git a/kedify-agent/templates/agent-deployment.yaml b/kedify-agent/templates/agent-deployment.yaml index e227648e..a0022a2a 100644 --- a/kedify-agent/templates/agent-deployment.yaml +++ b/kedify-agent/templates/agent-deployment.yaml @@ -66,6 +66,8 @@ spec: - name: PRP_REQUIRES_ANNOTATED_PODS value: {{ .Values.agent.features.prpRequiresAnnotatedPods | quote }} {{- end }} + - name: METRICS_WATCH_NAMESPACE + value: {{ .Values.agent.metricsWatchNamespace | quote }} - name: RBAC_READ_NODES value: {{ .Values.agent.rbac.readNodes | quote }} - name: RBAC_READ_PODS diff --git a/kedify-agent/values.yaml b/kedify-agent/values.yaml index b491e337..88ee6ae4 100644 --- a/kedify-agent/values.yaml +++ b/kedify-agent/values.yaml @@ -31,6 +31,9 @@ agent: pullPolicy: IfNotPresent imagePullSecrets: [] + # comma-separated list of namespaces where pod utilization metrics should be collected + # or if unset denotes all namespaces, the collecting itself needs to be also enabled by KubernetesMetricsScraping flag + metricsWatchNamespace: "" # if anything else than 'false', the log will not print the ascii logo noBanner: false # if anything else than 'false', the log will not contain colors