Hey folks what does `positionDB` in the <fluentBit...
# fluent-operator
m
Hey folks what does
positionDB
in the fluentBitSpec actually do, it looks like I need it for tail input to be enabled? I'm assuming I can set it to any sort of volume and it doesn't just have to be hostPath and can be set to any sort of volume.
p
It'll be the DB file for tail input: https://docs.fluentbit.io/manual/pipeline/inputs/tail Ultimately it's just an sqlite file so can go anywhere you like, however if you're using it for persistence then if your pod gets restarted/moved you need to ensure the new pod uses the right DB
hostPath
is an easy option for daemonsets as any pod scheduled on the node will get the right DB then