Compare commits
5 commits
85058a9b28
...
7020d27da5
Author | SHA1 | Date | |
---|---|---|---|
7020d27da5 | |||
3cfe1b6b51 | |||
26779c2d5c | |||
da23c6879b | |||
e3e3cbb0d3 |
4 changed files with 50 additions and 2 deletions
|
@ -5,7 +5,7 @@ kind: Dragonfly
|
|||
metadata:
|
||||
name: dragonfly
|
||||
spec:
|
||||
image: ghcr.io/dragonflydb/dragonfly:v1.23.1
|
||||
image: ghcr.io/dragonflydb/dragonfly:v1.23.2
|
||||
replicas: 3
|
||||
env:
|
||||
- name: MAX_MEMORY
|
||||
|
|
|
@ -69,7 +69,7 @@ spec:
|
|||
app:
|
||||
image:
|
||||
repository: ghcr.io/bjw-s-labs/piped-frontend
|
||||
tag: latest@sha256:4baa047dfa6510476eaa604afadbd01b651cf7da4e820a1b137a02d959a802d6
|
||||
tag: latest@sha256:5c04473c5da8f55553c1673619cdb676fc6b55a4ad5887800cae652709308321
|
||||
env:
|
||||
HTTP_PORT: 8080
|
||||
HTTP_WORKERS: 4
|
||||
|
|
|
@ -3,5 +3,6 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- vmagent.yaml
|
||||
- vmalert.yaml
|
||||
- vmsingle.yaml
|
||||
|
|
|
@ -0,0 +1,47 @@
|
|||
---
|
||||
# yaml-language-server: $schema=https://ks.hsn.dev/operator.victoriametrics.com/vmagent_v1beta1.json
|
||||
apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMAgent
|
||||
metadata:
|
||||
name: victoria
|
||||
spec:
|
||||
scrapeInterval: 60s
|
||||
selectAllByDefault: true
|
||||
statefulMode: true
|
||||
useStrictSecurity: true
|
||||
vmAgentExternalLabelName: prometheus
|
||||
externalLabels:
|
||||
cluster: theshire
|
||||
extraArgs:
|
||||
promscrape.maxScrapeSize: "33554432" # 32MiB
|
||||
promscrape.streamParse: "true"
|
||||
# Do not store original labels in vmagent's memory by default. This reduces the amount of memory used by vmagent
|
||||
# but makes vmagent debugging UI less informative. See: https://docs.victoriametrics.com/vmagent/#relabel-debug
|
||||
promscrape.dropOriginalLabels: "true"
|
||||
remoteWrite:
|
||||
- url: http://vmsingle-victoria.observability.svc:8429/api/v1/write
|
||||
resources:
|
||||
requests:
|
||||
cpu: 3m
|
||||
limits:
|
||||
memory: 512Mi
|
||||
statefulStorage:
|
||||
volumeClaimTemplate:
|
||||
spec:
|
||||
storageClassName: openebs-hostpath
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
securityContext:
|
||||
runAsUser: 65534
|
||||
runAsGroup: 65534
|
||||
runAsNonRoot: true
|
||||
fsGroup: 65534
|
||||
topologySpreadConstraints:
|
||||
- maxSkew: 1
|
||||
topologyKey: kubernetes.io/hostname
|
||||
whenUnsatisfiable: DoNotSchedule
|
||||
labelSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: stack
|
||||
app.kubernetes.io/name: vmagent
|
Loading…
Reference in a new issue