helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Request for Fluent Bit Compatibility with Hybrid Cluster (Linux and Windows NodePools)

Open goranhaji-sl opened this issue 1 year ago • 1 comments

Greetings,

I am working with a hybrid cluster which consists of both Linux and Windows node pools. Presently, we use Fluent Bit. However, I have noticed that the current chart only supports Linux.

I am keen to know if there are ongoing efforts to enhance the chart for compatibility with both Linux and Windows. It would greatly improve the utility of the tool for those of us managing hybrid clusters.

Thank you.

goranhaji-sl avatar May 30 '23 12:05 goranhaji-sl

Following are the values overrides I've found are required to run this helm chart on windows nodes:

fluent-bit:
  fullnameOverride: fluent-bit-windows

  nodeSelector:
    kubernetes.io/os: windows

  tolerations:
    - key: os
      value: windows

  image:
    tag: windows-2019-2.1.9

  config:
    inputs: |
      [INPUT]
          name        tail
          # https://github.com/fluent/fluent-bit/issues/7095#issuecomment-1492333443
          path        \var\log\containers\*.log

    filters: |
      [FILTER]
          name        kubernetes
          kube_url    https://kubernetes.default.svc.cluster.local:443

  daemonSetVolumes:
    - name: varlog
      hostPath:
        path: /var/log

  daemonSetVolumeMounts:
    - name: varlog
      mountPath: /var/log

gitfool avatar Oct 03 '23 02:10 gitfool