diff --git a/.chloggen/refactor-agent-daemonset-toleration.yaml b/.chloggen/refactor-agent-daemonset-toleration.yaml index 93777a9988..3362b470f7 100644 --- a/.chloggen/refactor-agent-daemonset-toleration.yaml +++ b/.chloggen/refactor-agent-daemonset-toleration.yaml @@ -1,16 +1,12 @@ # One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: breaking +change_type: enhancement # The name of the component, or a single word describing the area of concern, (e.g. agent, clusterReceiver, gateway, operator, chart, other) component: agent # A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). note: Make it so the default tolerations used to deploy the agent collector account for k8s distribution # One or more tracking issues related to the change -issues: [1562,1572] +issues: [1562] # (Optional) One or more lines of additional information to render under the primary note. # These lines will be padded with 2 spaces and then inserted directly into the document. # Use pipe (|) for multiline entries. -subtext: | - The agent collector now adjusts default tolerations based on Kubernetes distributions. - OpenShift infra nodes and AKS system nodes are included in default monitoring. - Default tolerations are applied when `tolerations: []` is set, instead of being explicitly defined in `values.yaml`. - To disable default tolerations (previously settable using the value `tolerations: []`), now only use the values `tolerations:` or `tolerations: null`. +subtext: OpenShift infra nodes and AKS system nodes will now be monitored by the agent by default diff --git a/helm-charts/splunk-otel-collector/values.schema.json b/helm-charts/splunk-otel-collector/values.schema.json index e09b93992b..6472c986a7 100644 --- a/helm-charts/splunk-otel-collector/values.schema.json +++ b/helm-charts/splunk-otel-collector/values.schema.json @@ -1192,7 +1192,7 @@ } }, "tolerations": { - "type": ["array", "null"], + "type": "array", "items": { "type": "object" } diff --git a/helm-charts/splunk-otel-collector/values.yaml b/helm-charts/splunk-otel-collector/values.yaml index e7573a0891..f51a5fc851 100644 --- a/helm-charts/splunk-otel-collector/values.yaml +++ b/helm-charts/splunk-otel-collector/values.yaml @@ -1011,7 +1011,6 @@ secret: # The tolerations for deploying the agent collector daemonset. By default, it targets control-plane, worker, # and k8s distribution-specific nodes (infrastructure or system) to ensure logs and metrics collection from nodes. -# If set, the specified tolerations will override the defaults. tolerations: - key: node-role.kubernetes.io/master effect: NoSchedule @@ -1025,8 +1024,6 @@ tolerations: - key: node-role.kubernetes.io/infra effect: NoSchedule operator: Exists -# Defines which nodes should be selected to deploy the o11y collector daemonset. - # Defines which nodes should be selected to deploy the agent collector daemonset. nodeSelector: {}