values.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. # extraOutputs: # Allow to define extra outputs in addition to the one automatically created
  40. # - Name: stdout
  41. # Format: json
  42. # json_date_format: time
  43. affinity: {}
  44. annotations: {}
  45. deploymentStrategy: RollingUpdate
  46. image:
  47. repository: grafana/fluent-bit-plugin-loki
  48. tag: 2.1.0-amd64
  49. pullPolicy: IfNotPresent
  50. ## Optionally specify an array of imagePullSecrets.
  51. ## Secrets must be present in the namespace.
  52. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  53. # pullSecrets:
  54. # - myRegistrKeySecretName
  55. nameOverride: fluent-bit-loki
  56. ## Node labels for pod assignment
  57. ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  58. nodeSelector: {}
  59. ## Pod Labels
  60. podLabels: {}
  61. podAnnotations:
  62. prometheus.io/scrape: "true"
  63. prometheus.io/port: "2020"
  64. prometheus.io/path: /api/v1/metrics/prometheus
  65. ## Assign a PriorityClassName to pods if set
  66. # priorityClassName:
  67. rbac:
  68. create: true
  69. pspEnabled: true
  70. resources:
  71. limits:
  72. memory: 100Mi
  73. requests:
  74. cpu: 100m
  75. memory: 100Mi
  76. serviceAccount:
  77. create: true
  78. name:
  79. ## Tolerations for pod assignment
  80. ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
  81. tolerations:
  82. - key: node-role.kubernetes.io/master
  83. effect: NoSchedule
  84. # Extra volumes to scrape logs from
  85. volumes:
  86. - name: varlog
  87. hostPath:
  88. path: /var/log
  89. - name: varlibdockercontainers
  90. hostPath:
  91. path: /var/lib/docker/containers
  92. volumeMounts:
  93. - name: varlog
  94. mountPath: /var/log
  95. - name: varlibdockercontainers
  96. mountPath: /var/lib/docker/containers
  97. readOnly: true
  98. serviceMonitor:
  99. enabled: false
  100. interval: ""
  101. additionalLabels: {}
  102. annotations: {}
  103. # scrapeTimeout: 10s