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:
|
metadata:
|
||||||
name: dragonfly
|
name: dragonfly
|
||||||
spec:
|
spec:
|
||||||
image: ghcr.io/dragonflydb/dragonfly:v1.23.1
|
image: ghcr.io/dragonflydb/dragonfly:v1.23.2
|
||||||
replicas: 3
|
replicas: 3
|
||||||
env:
|
env:
|
||||||
- name: MAX_MEMORY
|
- name: MAX_MEMORY
|
||||||
|
|
|
@ -69,7 +69,7 @@ spec:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/bjw-s-labs/piped-frontend
|
repository: ghcr.io/bjw-s-labs/piped-frontend
|
||||||
tag: latest@sha256:c4cb0cfbdf149cdb738fb9e41a5cc748a7ea53053f4c5e036b9f7578d9273328
|
tag: latest@sha256:5c04473c5da8f55553c1673619cdb676fc6b55a4ad5887800cae652709308321
|
||||||
env:
|
env:
|
||||||
HTTP_PORT: 8080
|
HTTP_PORT: 8080
|
||||||
HTTP_WORKERS: 4
|
HTTP_WORKERS: 4
|
||||||
|
|
|
@ -3,5 +3,6 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
|
- vmagent.yaml
|
||||||
- vmalert.yaml
|
- vmalert.yaml
|
||||||
- vmsingle.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