Compare commits

..

3 commits

3 changed files with 25 additions and 1 deletions

View file

@ -31,7 +31,7 @@ spec:
init-config:
image:
repository: ghcr.io/kiwigrid/k8s-sidecar
tag: 1.28.3@sha256:28711f703bc326298c7bab6610728ca158aa4006befaf9c75f69f62897d136a2
tag: 1.28.4@sha256:20caf4e241e1f9f9231527db5e75b735aa7b0da7bee3d262cbe369bb9b33469f
env:
FOLDER: /config
LABEL: gatus.io/enabled

View file

@ -0,0 +1,17 @@
# yaml-language-server: $schema=https://ks.hsn.dev/operator.victoriametrics.com/vmscrapeconfig_v1beta1.json
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMScrapeConfig
metadata:
name: &name shadowfax
spec:
staticConfigs:
- targets: ["10.1.1.61:9100"]
path: /metrics
relabelConfigs:
- action: replace
targetLabel: job
replacement: node-exporter
- action: replace
targetLabel: instance
replacement: shadowfax
scheme: http

View file

@ -8,6 +8,13 @@ spec:
# Possible units character: h(ours), d(ays), w(eeks), y(ears). Min 24h.
retentionPeriod: "6" # months if not specified
useStrictSecurity: true
serviceSpec:
spec:
type: LoadBalancer
loadBalancerIP: 10.1.1.33
ports:
- name: http
port: 8429
extraArgs:
dedup.minScrapeInterval: 10s
maxLabelsPerTimeseries: "40"