Skip to content

Commit 7e4c7ac

Browse files
Merge pull request #15 from FireTail-io/dev
added correct endpoint
2 parents 2e105e5 + 8f0f27f commit 7e4c7ac

File tree

2 files changed

+12
-18
lines changed

2 files changed

+12
-18
lines changed

README.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
# Firetail Kubernetes Sensor
22

3-
POC for a FireTail Kubernetes Sensor.
4-
3+
## Deployment
54

5+
- Create an API & API Key on the FireTail Platform
6+
- API: [https://www.firetail.ai/docs/create-an-api](https://www.firetail.ai/docs/create-an-api)
7+
- API Token: [https://www.firetail.ai/docs/create-an-api-token](https://www.firetail.ai/docs/create-an-api-token)
8+
- ```git clone https://github.com/FireTail-io/firetail-kubernetes-sensor.git```
9+
- deploy helm chart ```cd helm && helm install firetail-sensor firetail-sensor/ --set apiKey="PS-02-XXXXXXXX"```
610

711
## Environment Variables
812

9-
| Variable Name | Required? | Example | Description |
10-
| ----------------------------------------------- | --------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
11-
| `FIRETAIL_API_TOKEN` || `PS-02-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX` | The API token the sensor will use to report logs to FireTail |
13+
| Variable Name | Required? | Example | Description |
14+
| ----------------------------------------------- | --------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
15+
| `FIRETAIL_API_TOKEN` || `PS-02-XXXXXXXX` | The API token the sensor will use to report logs to FireTail |
1216
| `BPF_EXPRESSION` || `tcp and (port 80 or port 443)` | The BPF filter used by the sensor. See docs for syntax info: https://www.tcpdump.org/manpages/pcap-filter.7.html |
1317
| `MAX_CONTENT_LENGTH` || `1048576` | The sensor will only read request or response bodies if their length is less than `MAX_CONTENT_LENGTH` bytes. |
1418
| `ENABLE_ONLY_LOG_JSON` || `true` | Enables only logging requests where the content-type implies the payload should be JSON, or the payload is valid JSON regardless of the content-type. |
@@ -46,16 +50,6 @@ After a few seconds, you should see logs appear in the FireTail SaaS platform.
4650

4751

4852

49-
## Publishing to ECS
50-
51-
Authenticate and then use the `publish` target in [the provided makefile](./Makefile) to login to ECS, tag the image and push it:
52-
53-
```bash
54-
ftauth
55-
make publish VERSION=latest
56-
```
57-
58-
5953

6054
## Publishing to GHCR
6155

helm/firetail-sensor/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
image:
66
repository: ghcr.io/firetail-io/kubernetes-sensor
7-
tag: 1dbc044
7+
tag: v0.1.8
88
pullPolicy: IfNotPresent
99

1010
imagePullSecrets: []
@@ -30,9 +30,9 @@ securityContext:
3030

3131

3232
env:
33-
FIRETAIL_API_URL: "https://api.logging.eu-west-1.sandbox.firetail.app/logs/bulk"
33+
FIRETAIL_API_URL: "https://api.logging.us-east-2.prod.us.firetail.app/logs/bulk"
3434
FIRETAIL_API_URL_EU: "https://api.logging.eu-west-1.firetail.app/logs/bulk"
35-
FIRETAIL_API_URL_US: "https://api.logging.us-east-2.us.firetail.app/logs/bulk"
35+
FIRETAIL_API_URL_US: "https://api.logging.us-east-2.prod.us.firetail.app/logs/bulk"
3636
FIRETAIL_KUBERNETES_SENSOR_DEV_MODE: "true"
3737
FIRETAIL_KUBERNETES_SENSOR_DEV_SERVER_ENABLED: "false"
3838
BPF_EXPRESSION: "tcp and (port 80 or port 443) and not net 169.254.0.0/16 and not net fd00::/8"

0 commit comments

Comments
 (0)