2V0-71.23 Question 99
Single answerYou are tasked with setting up a logging pipeline for a Kubernetes cluster running on Tanzu Kubernetes Grid. The requirement is to collect logs from multiple pods running across different namespaces and forward them to an external logging system with minimal resource overhead. What role does Fluent Bit play in this scenario?
- A
It acts as a centralized logging storage solution for Kubernetes clusters.
- B
It provides a lightweight log processor and forwarder that can collect, parse, and ship logs to external systems.
- C
It is responsible for monitoring the health of Kubernetes nodes and pods and generating alerts.
- D
It replaces the Kubernetes default logging driver to store logs efficiently on the local file system.
Show answer and explanation
Correct answer: B
Explanation
Fluent Bit is a key component in Tanzu Kubernetes Operations for managing logs. It is a lightweight and efficient log processor and forwarder that collects logs from various sources, including Kubernetes nodes and pods, processes them (e.g., filtering, parsing), and forwards them to external logging systems. This makes it ideal for scenarios requiring minimal resource usage while integrating with external log management platforms.
- A. Incorrect.
Fluent Bit is not a centralized logging storage solution; instead, it is a lightweight log forwarder and processor. Centralized storage is typically handled by systems like Elasticsearch or Splunk.
- B. Correct.
This is correct. Fluent Bit is designed to be a lightweight log processor and forwarder. It collects logs from various sources, processes them, and forwards them to external logging systems such as Elasticsearch, Splunk, or a cloud-based service.
- C. Incorrect.
Fluent Bit does not perform health monitoring or generate alerts; health monitoring is typically handled by tools like Prometheus or Kubernetes' built-in monitoring features.
- D. Incorrect.
Fluent Bit does not replace the default Kubernetes logging driver. It works alongside the existing Kubernetes logging mechanism to process and forward logs to external systems.