This project contains a callback container for testing pupuses,
located in the callback/
directory. This is used to collect all the KiveAlert
in a
central place. This container hosts the /ingest
HTTP
endpoint at default port 8090
and logs the body of all the
requests made to it. The Kive
operator can use this service
to aggreate all logs from all nodes in a single place.
On kubernetes, it registers a service at port 9376
,
which can be accessed by other pods via the url
http://callback-service.kivebpf-system.svc.cluster.local:9376/ingest
.
The commands to build, containerize and deploy the application in a
kubernetes cluster are the same as the Kive
operator except
that there are no code generation commands. Here is a quick summary:
make build # Build
make docker # Build doker image
make deploy # Deploy on kubernetes
make undeploy # Undeploy the application