-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(chart): configurable tolerations for daemonset collector pods
This allows to schedule daemonset collector pods to be scheduled on nodes that have a taint. Also: Move Helm settings for limits/request for collector containers: - operator.collectorDaemonSetCollectorContainerResources -> operator.collectors.daemonSetCollectorContainerResources - operator.collectorDaemonSetConfigurationReloaderContainerResources -> operator.collectors.daemonSetConfigurationReloaderContainerResources - operator.collectorDaemonSetFileLogOffsetSynchContainerResources -> operator.collectors.daemonSetFileLogOffsetSynchContainerResources - operator.collectorDeploymentCollectorContainerResources -> operator.collectors.deploymentCollectorContainerResources - operator.collectorDeploymentConfigurationReloaderContainerResources -> operator.collectors.deploymentConfigurationReloaderContainerResources The previous locations for these settings still work as well though for backwards compatibility.
- Loading branch information
Showing
22 changed files
with
861 additions
and
501 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
helm-chart/dash0-operator/templates/operator/otelcol-extra-config-map.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ template "dash0-operator.collectorResourceConfigMapName" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app.kubernetes.io/name: dash0-operator | ||
app.kubernetes.io/component: controller | ||
app.kubernetes.io/instance: collector-extra-config-map | ||
{{- include "dash0-operator.labels" . | nindent 4 }} | ||
|
||
{{/* | ||
Note: Until version 0.45.1, the collector resource values were supposed to be defined at | ||
operator.collectorDaemonSetCollectorContainerResources; we still allow these value for backwards | ||
compatibility. | ||
*/}} | ||
data: | ||
otelcolextra.yaml: |- | ||
collectorDaemonSetCollectorContainerResources: | ||
{{- toYaml ( | ||
default | ||
.Values.operator.collectors.daemonSetCollectorContainerResources | ||
.Values.operator.collectorDaemonSetCollectorContainerResources | ||
) | nindent 6 }} | ||
collectorDaemonSetConfigurationReloaderContainerResources: | ||
{{- toYaml ( | ||
default | ||
.Values.operator.collectors.daemonSetConfigurationReloaderContainerResources | ||
.Values.operator.collectorDaemonSetConfigurationReloaderContainerResources | ||
) | nindent 6 }} | ||
collectorDaemonSetFileLogOffsetSynchContainerResources: | ||
{{- toYaml ( | ||
default | ||
.Values.operator.collectors.daemonSetFileLogOffsetSynchContainerResources | ||
.Values.operator.collectorDaemonSetFileLogOffsetSynchContainerResources | ||
) | nindent 6 }} | ||
collectorDeploymentCollectorContainerResources: | ||
{{- toYaml ( | ||
default | ||
.Values.operator.collectors.deploymentCollectorContainerResources | ||
.Values.operator.collectorDeploymentCollectorContainerResources | ||
) | nindent 6 }} | ||
collectorDeploymentConfigurationReloaderContainerResources: | ||
{{- toYaml ( | ||
default | ||
.Values.operator.collectors.deploymentConfigurationReloaderContainerResources | ||
.Values.operator.collectorDeploymentConfigurationReloaderContainerResources | ||
) | nindent 6 }} | ||
daemonSetTolerations: | ||
{{- toYaml .Values.operator.collectors.daemonSetTolerations | nindent 6 }} |
24 changes: 0 additions & 24 deletions
24
helm-chart/dash0-operator/templates/operator/otelcol-resources-config-map.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.