Compare commits

...

6 commits

Author SHA1 Message Date
f7afa7927a Update image ghcr.io/open-webui/open-webui to v0.3.32 2024-10-07 05:32:20 +00:00
811c28d44f
update endpoint 2024-10-06 22:18:20 -05:00
8f1cee1106
update metadata name 2024-10-06 22:17:06 -05:00
d0f6ccd3bb
update endpoints 2024-10-06 22:16:12 -05:00
e5710204df
add vmalert 2024-10-06 22:15:07 -05:00
abfc90ee71
debug 2024-10-06 22:09:52 -05:00
4 changed files with 23 additions and 14 deletions

View file

@ -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.30 tag: 0.3.32
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

View file

@ -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

View file

@ -3,30 +3,34 @@
apiVersion: operator.victoriametrics.com/v1beta1 apiVersion: operator.victoriametrics.com/v1beta1
kind: VMAlert kind: VMAlert
metadata: metadata:
name: cluster name: victoria
spec: spec:
datasource:
url: http://vmsingle-cluster.observability.svc:8429
evaluationInterval: 1m evaluationInterval: 1m
useStrictSecurity: true
selectAllByDefault: true
datasource:
url: http://vmsingle-victoria.observability.svc:8429
notifiers: notifiers:
- url: http://alertmanager.observability.svc:9093 - url: http://alertmanager.observability.svc:9093
# remoteRead: remoteRead:
# url: http://vmsingle-cluster.observability.svc:8429 url: http://vmsingle-victoria.observability.svc:8429
# remoteWrite: remoteWrite:
# url: http://vmsingle-cluster.observability.svc:8429 url: http://vmsingle-victoria.observability.svc:8429
replicaCount: 1 securityContext:
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: cluster app.kubernetes.io/instance: victoria
app.kubernetes.io/name: vmalert app.kubernetes.io/name: vmalert
useStrictSecurity: true

View file

@ -12,7 +12,12 @@ spec:
dedup.minScrapeInterval: 10s dedup.minScrapeInterval: 10s
maxLabelsPerTimeseries: "40" maxLabelsPerTimeseries: "40"
search.minStalenessInterval: 5m search.minStalenessInterval: 5m
# vmalert.proxyURL: http://vmalert-cluster.observability.svc:8080 vmalert.proxyURL: http://vmalert-victoria.observability.svc:8080
securityContext:
runAsUser: 65534
runAsGroup: 65534
runAsNonRoot: true
fsGroup: 65534
resources: resources:
requests: requests:
cpu: 5m cpu: 5m