Cloudbeat
Table of contents
Prerequisites
- Just command runner
- Elasticsearch with the default username & password (
elastic
&changeme
) running on the default port (http://localhost:9200
) - Kibana with running on the default port (
http://localhost:5601
) - Set up the local env:
just setup-env
Running Cloudbeat
Build & deploy cloudbeat:
just build-deploy-cloudbeat
To validate check the logs:
just logs-cloudbeat
Now go and check out the data on your Kibana! Make sure to add a kibana dataview logs-cis_kubernetes_benchmark.findings-*
Clean up
To stop this example and clean up the pod, run:
just delete-cloudbeat
Remote Debugging
Build & Deploy remote debug docker:
just build-deploy-cloudbeat-debug
After running the pod, expose the relevant ports:
just expose-ports
The app will wait for the debugger to connect before starting
just logs-cloudbeat
Use your favorite IDE to connect to the debugger on localhost:40000
(for example Goland)
Note: Check the jusfile for all available commands for build or deploy $ just --summary