Patching of fluentbit collector pods
From version 11.0 and later, you can also patch the fluentbit collector pods using the fluentbit containers. The fluentbit collector, daemonset, and sidecar are the same container images.
Fluentbit container patch image example: netbackup/fluentbit:11.0.x.x.xxxx-patch
Fluentbit cleanup container patch image example: netbackup/fluentbit-log-cleanup:11.0.x.x.xxxx-patch
To patch the fluentbit collector pods
- Using the following command, get the currently configured values. Save the values in a file.
helm get values -n <namespace> cloudscale | grep -v "USER-SUPPLIEDVALUES:" > <values file name>
- Update the output file to reflect new image tags:
Edit and update the tags in below json path file for the fluentbit-collector and execute the command:
fluentbit.image.tag to 11.1.x.x.xxxx-patch (or actual patch tag)
Edit and update the tags in below json path file for the fluenbit-log-cleanup image and execute the command:
fluentbit.cleanup.image.tag to 11.1.x.x.xxxx-patch (or actual patch tag)
- To update the deployment, run the helm command:
helm upgrade --install -n <namespace> cloudscale <cloudscale tgz>-f <values file name>
Note:
The tarball you need for this command is the one containing the helm templates, not the docker images. It is usually named
fluentbit-<version>.tgz.