Compare commits
1 commit
f7afa7927a
...
2a883e5710
Author | SHA1 | Date | |
---|---|---|---|
2a883e5710 |
4 changed files with 14 additions and 23 deletions
|
@ -33,7 +33,7 @@ spec:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/open-webui/open-webui
|
repository: ghcr.io/open-webui/open-webui
|
||||||
tag: 0.3.32
|
tag: v0.3.31
|
||||||
env:
|
env:
|
||||||
- name: OLLAMA_BASE_URL
|
- name: OLLAMA_BASE_URL
|
||||||
value: http://ollama.ai.svc.cluster.local:11434
|
value: http://ollama.ai.svc.cluster.local:11434
|
||||||
|
|
|
@ -3,5 +3,5 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- vmalert.yaml
|
# - vmalert.yaml
|
||||||
- vmsingle.yaml
|
- vmsingle.yaml
|
||||||
|
|
|
@ -3,34 +3,30 @@
|
||||||
apiVersion: operator.victoriametrics.com/v1beta1
|
apiVersion: operator.victoriametrics.com/v1beta1
|
||||||
kind: VMAlert
|
kind: VMAlert
|
||||||
metadata:
|
metadata:
|
||||||
name: victoria
|
name: cluster
|
||||||
spec:
|
spec:
|
||||||
evaluationInterval: 1m
|
|
||||||
useStrictSecurity: true
|
|
||||||
selectAllByDefault: true
|
|
||||||
datasource:
|
datasource:
|
||||||
url: http://vmsingle-victoria.observability.svc:8429
|
url: http://vmsingle-cluster.observability.svc:8429
|
||||||
|
evaluationInterval: 1m
|
||||||
notifiers:
|
notifiers:
|
||||||
- url: http://alertmanager.observability.svc:9093
|
- url: http://alertmanager.observability.svc:9093
|
||||||
remoteRead:
|
# remoteRead:
|
||||||
url: http://vmsingle-victoria.observability.svc:8429
|
# url: http://vmsingle-cluster.observability.svc:8429
|
||||||
remoteWrite:
|
# remoteWrite:
|
||||||
url: http://vmsingle-victoria.observability.svc:8429
|
# url: http://vmsingle-cluster.observability.svc:8429
|
||||||
securityContext:
|
replicaCount: 1
|
||||||
runAsUser: 65534
|
|
||||||
runAsGroup: 65534
|
|
||||||
runAsNonRoot: true
|
|
||||||
fsGroup: 65534
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 3m
|
cpu: 3m
|
||||||
limits:
|
limits:
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
|
selectAllByDefault: true
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
- maxSkew: 1
|
- maxSkew: 1
|
||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: kubernetes.io/hostname
|
||||||
whenUnsatisfiable: DoNotSchedule
|
whenUnsatisfiable: DoNotSchedule
|
||||||
labelSelector:
|
labelSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/instance: victoria
|
app.kubernetes.io/instance: cluster
|
||||||
app.kubernetes.io/name: vmalert
|
app.kubernetes.io/name: vmalert
|
||||||
|
useStrictSecurity: true
|
||||||
|
|
|
@ -12,12 +12,7 @@ spec:
|
||||||
dedup.minScrapeInterval: 10s
|
dedup.minScrapeInterval: 10s
|
||||||
maxLabelsPerTimeseries: "40"
|
maxLabelsPerTimeseries: "40"
|
||||||
search.minStalenessInterval: 5m
|
search.minStalenessInterval: 5m
|
||||||
vmalert.proxyURL: http://vmalert-victoria.observability.svc:8080
|
# vmalert.proxyURL: http://vmalert-cluster.observability.svc:8080
|
||||||
securityContext:
|
|
||||||
runAsUser: 65534
|
|
||||||
runAsGroup: 65534
|
|
||||||
runAsNonRoot: true
|
|
||||||
fsGroup: 65534
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 5m
|
cpu: 5m
|
||||||
|
|
Loading…
Reference in a new issue