Back to Charts

Chart 1.x to 2.x migration guide

stable/datadog/docs/Migration_1.x_to_2.x.md

latest17.6 KB
Original Source

Chart 1.x to 2.x migration guide

The datadog chart has been refactored to regroup the values.yaml parameters in a more logical way. Migrating from chart v1 to chart v2 hence requires that you restructure the values.yaml file. For all the parameters in the existing values.yaml file that applied to chart v1, you’ll find the parameters to which they correspond to in v2 in the following table. Parameters that are not listed in the table below haven’t been touched and are at the same location in v1 and v2.

Old parameterNew locationcomment
image.repositoryagents.image.repository and clusterCheckRunner.image.repository
image.tagagents.image.tag and clusterCheckRunner.image.tag
image.pullPolicyagents.image.pullPolicy and clusterCheckRunner.image.pullPolicy
image.pullSecretsagents.image.pullSecrets and clusterCheckRunner.image.pullSecrets
datadog.nameThe name of the container inside the Agent and Cluster Agent pod isn’t configurable anymore
datadog.useCriSocketVolumeIf datadog.criSocketPath is defined, the socket will be mounted inside the container without needing to set datadog.useCriSocketVolume in addition.
datadog.containerLogsPathNot needed anymore because the chart automatically detects if the CRI is docker based on criSocketPath and mounts the path accordingly
datadog.apmEnableddatadog.apm.enabled
datadog.processAgentEnableddatadog.processAgent.enabled and datadog.processAgent.processCollection:true
datadog.volumesagent.volumes
datadog.volumeMountsagent.VolumeMounts
datadog.livenessProbeagents.containers.agent.livenessProbe
datadog.resourcesagents.containers.agent.resources
datadog.dogstatsdOriginDetectiondatadog.dogstatsd.originDetection
datadog.useDogStatsDSocketVolumedatadog.dogstatsd.useSocketVolume
systemProbe.enableddatadog.systemProbe.enabled
systemProbe.debugPortdatadog.systemProbe.debugPort
systemProbe.enableConntrackdatadog.systemProbe.enableConntrack
systemProbe.seccompdatadog.systemProbe.seccomp
systemProbe.seccompRootdatadog.systemProbe.seccompRoot
systemProbe.bpfDebugdatadog.systemProbe.bpfDebug
systemProbe.apparmordatadog.systemProbe.apparmor
clusterAgent.containerNameThe name of the container inside the Cluster Agent pod isn’t configurable anymore
clusterAgent.clusterChecks.enableddatadog.clusterChecks.enabled
rbac.createagents.rbac.create and clusterAgent.rbac.create
rbac.serviceAccountNameagents.rbac.serviceAccountName and clusterAgent.rabc.serviceAccountName
tolerationagents.toleration
kubeStateMetrics.enableddatadog.kubeStateMetricsEnabled
daemonset.enabledagents.enabled
daemonset.containers.agent.*agents.containers.agent.*
daemonset.containers.processAgent.*agents.containers.processAgent.*
daemonset.containers.traceAgent.*agents.containers.traceAgent.*
daemonset.containers.systemProbe.*agents.containers.systemProbe.*
daemonset.useHostNetworkagents.useHostNetwork
daemonset.dogstatsdPortdatadog.dogstatsd.port
daemonset.useHostPortdatadog.dogstatsd.useHostPort
daemonset.useHostPIDdatadog.dogstatsd.useHostPID
daemonset.nonLocalTrafficdatadog.dogstatsd.nonLocalTraffic
daemonset.podAnnotationsagents.podAnnotations
daemonset.tolerationsagents.tolerations
daemonset.nodeSelectoragents.nodeSelector
daemonset.affinityagents.affinity
daemonset.updateStrategyagents.updateStrategy
daemonset.priorityClassNameagents.priorityClassName
daemonset.podLabelsagents.podLabels
daemonset.useConfigMapagents.useConfigMap
daemonset.customAgentConfig.*agents.customAgentConfig.*
daemonset.useDedicatedContainers
deployment.*
clusterchecksDeployment.enabledclusterChecksRunner.enabled
clusterchecksDeployment.rbac.*clusterChecksRunner.rbac.*
clusterchecksDeployment.replicasclusterChecksRunner.replicas
clusterchecksDeployment.resources.*clusterChecksRunner.resources.*
clusterchecksDeployment.affinityclusterChecksRunner.affinity
clusterchecksDeployment.strategyclusterChecksRunner.strategy
clusterchecksDeployment.nodeSelectorclusterChecksRunner.nodeSelector
clusterchecksDeployment.tolerationsclusterChecksRunner.tolerations
clusterchecksDeployment.livenessProbeclusterChecksRunner.livenessProbe
clusterchecksDeployment.envclusterChecksRunner.env
logsEnableddatadog.logs.enabled
logsConfigContainerCollectAlldatadog.logs.containerCollectAll