Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable hostpath in Fluentbit helm chart #531

Open
jade-tseng opened this issue Jul 16, 2024 · 0 comments
Open

Disable hostpath in Fluentbit helm chart #531

jade-tseng opened this issue Jul 16, 2024 · 0 comments

Comments

@jade-tseng
Copy link

I'm deploying Fluentbit Helm chart in AKS. The DaemonSet uses hostpath which is not allowed in my k8s environment. I saw the fluent-operator chart addresses this issue with this flag to disableLogVolumes

Is this also possible without deploying fluent-operator, and where can it be specified in fluentbit helm chart?
How will it impact the deployment? Help is much appreciated

# The config volume is mounted by default, either to the existingConfigMap value, or the default of "fluent-bit.fullname"
volumeMounts:
  - name: config
    mountPath: /fluent-bit/etc/conf

daemonSetVolumes:
  - name: varlog
    hostPath:
      path: /var/log
  - name: varlibdockercontainers
    hostPath:
      path: /var/lib/docker/containers
  - name: etcmachineid
    hostPath:
      path: /etc/machine-id
      type: File

daemonSetVolumeMounts:
  - name: varlog
    mountPath: /var/log
  - name: varlibdockercontainers
    mountPath: /var/lib/docker/containers
    readOnly: true
  - name: etcmachineid
    mountPath: /etc/machine-id
    readOnly: true
    ```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant