文件
k3s/apps/monitor/loki/helmchart.yaml
T

59 行
1.2 KiB
YAML

apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: loki
namespace: infra-monitor
spec:
repo: https://grafana.github.io/helm-charts
chart: loki
targetNamespace: infra-monitor
version: 6.7.1
valuesContent: |-
deploymentMode: SingleBinary
gateway:
enabled: false
lokiCanary:
nodeSelector:
svccontroller.k3s.cattle.io/enablelb: "true"
labelname: name
extraArgs:
# 降低测试日志生成条数
- -interval=30s
adminApi:
nodeSelector:
kubernetes.io/hostname: alihka
resultsCache:
nodeSelector:
kubernetes.io/hostname: alihka
allocatedMemory: 1024
chunksCache:
nodeSelector:
kubernetes.io/hostname: alihka
allocatedMemory: 1024
loki:
auth_enabled: false
commonConfig:
replication_factor: 1
limits_config:
storage:
type: 'filesystem'
schemaConfig:
configs:
- from: "2024-01-01"
store: tsdb
index:
prefix: loki_index_
period: 24h
object_store: filesystem
schema: v13
singleBinary:
replicas: 1
read:
replicas: 0
backend:
replicas: 0
write:
replicas: 0