Kapacitor UDF's to Analyze Service Costs in Kubernetes
Slides: https://docs.google.com/presentation/d/16oHN1AunL4PGUfRJOcn9DmTn2RP8kI65CMZXsEAoPNA/edit?usp=sharing
-
Download binary from releases
-
Add to Kapacitor Config File
[udf]
[udf.functions]
[udf.functions.kullect]
prog = "path/to/kullect/binary"
args = []
timeout = "10s"
- Add the tick file included here
- Change the values for total_cpu, hourly_cost, and total_memory
- Define and enable the tick file
kapacitor define kullector \
-tick kullect.tick \
-type stream \
-dbrp k8s.default
kapacitor enable kullector
- Validate the tick is working
kapacitor show kullector