diff --git a/_sys/descheduler-policy-configmap.yaml b/_sys/descheduler-policy-configmap.yaml index 8d7b307..4ac4541 100644 --- a/_sys/descheduler-policy-configmap.yaml +++ b/_sys/descheduler-policy-configmap.yaml @@ -18,10 +18,10 @@ data: nodeResourceUtilizationThresholds: thresholds: "cpu": 30 - "memory": 30 - "pods": 10 + "memory": 50 + "pods": 15 targetThresholds: "cpu": 70 "memory": 70 - "pods": 15 + "pods": 16 diff --git a/apps/mosquitto/tekton-image-build-prometheus-exporter.yaml b/apps/mosquitto/tekton-image-build-prometheus-exporter.yaml index 0f6b577..92d6df2 100644 --- a/apps/mosquitto/tekton-image-build-prometheus-exporter.yaml +++ b/apps/mosquitto/tekton-image-build-prometheus-exporter.yaml @@ -41,12 +41,13 @@ spec: type: image steps: - name: build-binary - image: docker.io/golang - script: + image: debian:stable-slim + script: | #!/usr/bin/env bash + pwd PKG_NAME=github.com/sapcc/mosquitto-exporter BUILD_DIR=bin - MOSQUITTO_EXPORTER_BINARY=${}BUILD_DIR}/mosquitto_exporter + MOSQUITTO_EXPORTER_BINARY=${BUILD_DIR}/mosquitto_exporter IMAGE=apcc/mosquitto-exporter VERSION=0.6.0 LDFLAGS=-s -w -X main.Version=${VERSION} -X main.GITCOMMIT=`git rev-parse --short HEAD`