Fixes #40: Add toleration to armexporter-daemonset so it deploys to all nodes.

This commit is contained in:
Jeff Geerling 2020-05-23 20:35:29 -05:00
parent 8882eb5e78
commit 4a5b3f6d3c

View File

@ -73,6 +73,7 @@ local utils = import 'utils.libsonnet';
daemonset.mixin.spec.selector.withMatchLabels(podLabels) +
daemonset.mixin.spec.template.metadata.withLabels(podLabels) +
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.withContainers(c),