mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
add wpa config (#21641)
Signed-off-by: Ahmed Mezghani <ahmed.mezghani@outlook.com>
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Datadog changelog
|
||||
|
||||
## 2.1.1
|
||||
|
||||
* Add option to enable WPA in the Cluster Agent.
|
||||
|
||||
## 2.1.0
|
||||
|
||||
* Changed the default for `processAgent.enabled` to `true`.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: datadog
|
||||
version: 2.1.0
|
||||
version: 2.1.1
|
||||
appVersion: "7"
|
||||
description: Datadog Agent
|
||||
keywords:
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
datadog:
|
||||
apiKey: "00000000000000000000000000000000"
|
||||
appKey: "0000000000000000000000000000000000000000"
|
||||
|
||||
clusterAgent:
|
||||
enabled: true
|
||||
|
||||
metricsProvider:
|
||||
enabled: true
|
||||
|
||||
wpaController: true
|
||||
@@ -71,6 +71,16 @@ rules:
|
||||
- "/healthz"
|
||||
verbs:
|
||||
- get
|
||||
{{- if and .Values.clusterAgent.metricsProvider.enabled .Values.clusterAgent.metricsProvider.wpaController }}
|
||||
- apiGroups:
|
||||
- "datadoghq.com"
|
||||
resources:
|
||||
- "watermarkpodautoscalers"
|
||||
verbs:
|
||||
- "list"
|
||||
- "get"
|
||||
- "watch"
|
||||
{{- end }}
|
||||
---
|
||||
apiVersion: {{ template "rbac.apiVersion" . }}
|
||||
kind: ClusterRoleBinding
|
||||
|
||||
@@ -95,6 +95,8 @@ spec:
|
||||
value: {{ .Values.clusterAgent.metricsProvider.enabled | quote }}
|
||||
- name: DD_EXTERNAL_METRICS_PROVIDER_PORT
|
||||
value: {{ .Values.clusterAgent.metricsProvider.service.port | quote }}
|
||||
- name: DD_EXTERNAL_METRICS_PROVIDER_WPA_CONTROLLER
|
||||
value: {{ .Values.clusterAgent.metricsProvider.wpaController | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.datadog.clusterChecks.enabled }}
|
||||
- name: DD_CLUSTER_CHECKS_ENABLED
|
||||
|
||||
@@ -411,6 +411,11 @@ clusterAgent:
|
||||
metricsProvider:
|
||||
enabled: false
|
||||
|
||||
## @param wpaController - boolean - optional
|
||||
## Enable informer and controller of the watermark pod autoscaler
|
||||
#
|
||||
wpaController: false
|
||||
|
||||
## Configuration for the service for the cluster-agent metrics server
|
||||
#
|
||||
service:
|
||||
|
||||
Reference in New Issue
Block a user