From 4a5b3f6d3c75ec345a2897f30dd943c56bd17195 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Sat, 23 May 2020 20:35:29 -0500 Subject: [PATCH 1/2] Fixes #40: Add toleration to armexporter-daemonset so it deploys to all nodes. --- arm_exporter.jsonnet | 1 + 1 file changed, 1 insertion(+) diff --git a/arm_exporter.jsonnet b/arm_exporter.jsonnet index 90a4b81..2b43e7d 100644 --- a/arm_exporter.jsonnet +++ b/arm_exporter.jsonnet @@ -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), From bee270ded72a0efe4330f63d0cd838bc634a69ff Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Date: Sun, 24 May 2020 11:12:26 -0300 Subject: [PATCH 2/2] Update Readme.md --- Readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Readme.md b/Readme.md index 31d10f1..8cbf603 100644 --- a/Readme.md +++ b/Readme.md @@ -8,6 +8,8 @@ This repository collects Kubernetes manifests, Grafana dashboards, and Prometheu The content of this project is written in jsonnet and is an extension of the fantastic [kube-prometheus](https://github.com/coreos/prometheus-operator/blob/master/contrib/kube-prometheus) project. +If you like this project and others I've been contributing and would like to support me, please check-out my [Patreon page](https://www.patreon.com/carlosedp)! + To continue using my previous stack with manifests and previous versions of the operator and components, use the legacy repo tag from: https://github.com/carlosedp/prometheus-operator-ARM/tree/legacy. Components included in this package: