mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-20 19:07:17 +01:00
Merge pull request #41 from geerlingguy/40-tolerations-arm-daemonset
Fixes #40: Add toleration to armexporter-daemonset so it deploys to all nodes.
This commit is contained in:
commit
760eddd0c6
@ -73,6 +73,7 @@ local utils = import 'utils.libsonnet';
|
|||||||
daemonset.mixin.spec.selector.withMatchLabels(podLabels) +
|
daemonset.mixin.spec.selector.withMatchLabels(podLabels) +
|
||||||
daemonset.mixin.spec.template.metadata.withLabels(podLabels) +
|
daemonset.mixin.spec.template.metadata.withLabels(podLabels) +
|
||||||
daemonset.mixin.spec.template.spec.withNodeSelector({ 'beta.kubernetes.io/arch': 'arm64' }) +
|
daemonset.mixin.spec.template.spec.withNodeSelector({ 'beta.kubernetes.io/arch': 'arm64' }) +
|
||||||
|
daemonset.mixin.spec.template.spec.withTolerations([{'operator': 'Exists'}]) +
|
||||||
daemonset.mixin.spec.template.spec.withServiceAccountName('arm-exporter') +
|
daemonset.mixin.spec.template.spec.withServiceAccountName('arm-exporter') +
|
||||||
daemonset.mixin.spec.template.spec.withContainers(c),
|
daemonset.mixin.spec.template.spec.withContainers(c),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user