stuff
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user