github.com/yankunsam/loki/v2@v2.6.3-0.20220817130409-389df5235c27/production/helm/fluent-bit/values.yaml (about) 1 --- 2 loki: 3 serviceName: "" # Defaults to "${RELEASE}-loki" if not set 4 servicePort: 3100 5 serviceScheme: http 6 servicePath: /api/prom/push 7 # user: user 8 # password: pass 9 config: 10 port: 2020 11 tenantID: '""' 12 batchWait: 1 13 batchSize: 1048576 14 loglevel: warn 15 lineFormat: json 16 k8sLoggingExclude: "Off" 17 k8sLoggingParser: "Off" 18 memBufLimit: "5MB" 19 removeKeys: 20 - kubernetes 21 - stream 22 autoKubernetesLabels: false 23 labels: '{job="fluent-bit"}' 24 labelMap: 25 kubernetes: 26 namespace_name: namespace 27 labels: 28 app: app 29 release: release 30 host: node 31 container_name: container 32 pod_name: instance 33 stream: stream 34 # parsers: # Allow to define custom parsers. The key here is the same as the one in the [PARSER] section of parsers.conf file. 35 # - Name: json 36 # Format: json 37 # Time_Key: time 38 # Time_Format: "%d/%b/%Y:%H:%M:%S %z" 39 40 # extraOutputs: # Allow to define extra outputs in addition to the one automatically created 41 # - Name: stdout 42 # Format: json 43 # json_date_format: time 44 45 affinity: {} 46 47 annotations: {} 48 49 deploymentStrategy: RollingUpdate 50 51 image: 52 repository: grafana/fluent-bit-plugin-loki 53 tag: 1.6.0-amd64 54 pullPolicy: IfNotPresent 55 ## Optionally specify an array of imagePullSecrets. 56 ## Secrets must be present in the namespace. 57 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ 58 # pullSecrets: 59 # - myRegistrKeySecretName 60 61 nameOverride: fluent-bit-loki 62 63 ## Node labels for pod assignment 64 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ 65 nodeSelector: {} 66 67 ## Pod Labels 68 podLabels: {} 69 70 podAnnotations: 71 prometheus.io/scrape: "true" 72 prometheus.io/port: "2020" 73 prometheus.io/path: /api/v1/metrics/prometheus 74 75 ## Assign a PriorityClassName to pods if set 76 # priorityClassName: 77 78 rbac: 79 create: true 80 pspEnabled: true 81 82 resources: 83 limits: 84 memory: 100Mi 85 requests: 86 cpu: 100m 87 memory: 100Mi 88 89 serviceAccount: 90 create: true 91 name: 92 93 ## Tolerations for pod assignment 94 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ 95 tolerations: 96 - key: node-role.kubernetes.io/master 97 effect: NoSchedule 98 99 # Extra volumes to scrape logs from 100 volumes: 101 - name: varlog 102 hostPath: 103 path: /var/log 104 - name: varlibdockercontainers 105 hostPath: 106 path: /var/lib/docker/containers 107 108 volumeMounts: 109 - name: varlog 110 mountPath: /var/log 111 - name: varlibdockercontainers 112 mountPath: /var/lib/docker/containers 113 readOnly: true 114 115 serviceMonitor: 116 enabled: false 117 interval: "" 118 additionalLabels: {} 119 annotations: {} 120 # scrapeTimeout: 10s