- Create an API & API Key on the FireTail Platform
- API: https://www.firetail.ai/docs/create-an-api
- API Token: https://www.firetail.ai/docs/create-an-api-token
git clone https://github.com/FireTail-io/firetail-kubernetes-sensor.git
- deploy helm chart
cd helm && helm install firetail-sensor firetail-sensor/ --set apiKey="PS-02-XXXXXXXX"
Variable Name | Required? | Example | Description |
---|---|---|---|
FIRETAIL_API_TOKEN |
✅ | PS-02-XXXXXXXX |
The API token the sensor will use to report logs to FireTail |
FIRETAIL_API_URL |
❌ | https://api.logging.eu-west-1.prod.firetail.app/logs/bulk |
The API url the sensor will send logs to. Defaults to the EU region production environment. |
Clone the repo, make a .env
file with your API token in it, then use the dev
target in the provided makefile:
git clone [email protected]:FireTail-io/firetail-kubernetes-sensor.git
cd firetail-kubernetes-sensor
echo FIRETAIL_API_TOKEN=YOUR_API_TOKEN > .env
make
sudo ./bin/ecapture tls --firetail_api_token="YOUR_API_TOKEN"
In another terminal:
curl https://google.com
After a few seconds, you should see logs appear in the FireTail SaaS platform.
Publishing to GHCR is done via GitHub actions found in ./.github/workflows.
You can find the images published here: github.com/firetail-io/firetail-kubernetes-sensor/pkgs/container/kubernetes-sensor