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.25.1 valuesContent: |- deploymentMode: SingleBinary gateway: enabled: false lokiCanary: nodeSelector: svccontroller.k3s.cattle.io/enablelb: "true" extraArgs: # 降低测试日志生成条数 - -interval=30s 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: reject_old_samples_max_age: 168h max_query_series: 10000 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 nodeSelector: kubernetes.io/hostname: alihka read: replicas: 0 backend: replicas: 0 write: replicas: 0