Configuration
When Kubetail is deployed in a cluster, each component — the Dashboard, Cluster API, and Cluster Agent — is configured independently using a YAML config file mounted into the container. The Helm chart manages these files for you via ConfigMaps, but you can customize any setting by overriding the chart’s runtimeConfig fields.
How configuration works
Section titled “How configuration works”Each component reads its config from a file passed via the --config flag at startup:
dashboard --config /etc/kubetail/config.yamlcluster-api --config /etc/kubetail/config.yamlcluster-agent --config /etc/kubetail/config.yamlThe config file is mounted from a ConfigMap created by the Helm chart. To customize a component’s settings, pass your overrides under kubetail.<component>.runtimeConfig in your Helm values:
kubetail: dashboard: runtimeConfig: logging: level: debug clusterAPI: runtimeConfig: logging: level: debugDashboard
Section titled “Dashboard”The Dashboard is the web server that hosts the UI and proxies requests from the browser to the cluster. In the cluster environment it runs as a Deployment in the kubetail-system namespace.
For the full configuration reference see the Dashboard reference.
Cluster API
Section titled “Cluster API”The Cluster API is is the backend server that proxies requests from the Dashboard to the Cluster Agent instances running on each node. In the cluster it runs as a Deployment in the kubetail-system namespace.
For the full configuration reference see the Cluster API reference.
Cluster Agent
Section titled “Cluster Agent”The Cluster Agent is the small, Rust-based program that runs on each node and reads container log files directly from the node filesystem. In the cluster it runs as a DaemonSet in the kubetail-system namespace.
For the full configuration reference see the Cluster Agent reference.