This commit is contained in:
2021-02-18 23:08:00 +01:00
parent 38cac7a57f
commit 1ac9cc0b4c
2 changed files with 7 additions and 6 deletions

View File

@@ -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

View File

@@ -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`