This repository contains the source files needed to make a Docker image that collects Docker container log files using td-agent and sends them to Barito.
This image is designed to be used as a daemonset in a Kubernetes cluster. Every new version will be pushed to Barito Docker Hub
Because there are additional configurations that have to be made, this image full functionality can only be realized when you install it using our helm chart.
Sign in to BaritoMarket and find your Application Group. Barito Application Group Secret and Produce URL will be displayed, make note of those details.
- Add our helm chart repo
helm repo add barito https://baritolog.github.io/helm-charts- Create a custom yaml containing helm chart values to specify app that you want its logs to be forwarded, example:
# myApps.yaml
defaultAppOptions:
applicationGroupSecret: abc
produceUrl: https://barito-router.my-domain.com/produce_batch
apps:
- name: my-app-1
baritoAppName: My App 1
- name: my-app-2
baritoAppName: My App 2
- name: my-app-3
baritoAppName: My App 3
applicationGroupSecret: xyz
produceUrl: https://barito-router.other-domain.com/produce_batch
nameis metadata name of your deployment
- Install using helm
helm install barito/td-agent-barito --name=td-agent-barito --values=myApps.yamlOverride rbac.create when installing: --set rbac.create=true if you are using RBAC authorization.
If not specified, DaemonSet will have memory limits of 1 Gi and memory requests 512Mi. Use --set resources.limits.memory=XX or --set resources.requests.memory=XX to override.