Merge pull request #665 from s-urbaniak/node-exporter-max-unavailable-0.6

Backport: node-exporter: set maxUnavailable to 10%
This commit is contained in:
Sergiusz Urbaniak
2020-09-03 10:48:05 +02:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -137,6 +137,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
daemonset.mixin.metadata.withNamespace($._config.namespace) +
daemonset.mixin.metadata.withLabels(podLabels) +
daemonset.mixin.spec.selector.withMatchLabels(selectorLabels) +
daemonset.mixin.spec.updateStrategy.rollingUpdate.withMaxUnavailable('10%') +
daemonset.mixin.spec.template.metadata.withLabels(podLabels) +
daemonset.mixin.spec.template.spec.withTolerations([existsToleration]) +
daemonset.mixin.spec.template.spec.withNodeSelector({ 'kubernetes.io/os': 'linux' }) +

View File

@@ -88,3 +88,6 @@ spec:
- hostPath:
path: /
name: root
updateStrategy:
rollingUpdate:
maxUnavailable: 10%