Skip to content

Commit 2664a86

Browse files
pepovcsatib02
authored andcommitted
chore: make the traditional path the default for customer-a
Signed-off-by: Peter Wilcsinszky <peter.wilcsinszky@axoflow.com>
1 parent 601e4a9 commit 2664a86

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

config/samples/telemetry-controller-routing/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## Setup
44

5+
In this setup customer-a sends logs over the traditional path (fluentbit -> fluentd) while
6+
customer-b sends over the telemetry-controller path (opentelemetry collector -> fluentd).
7+
8+
In both cases, flows and outputs should work and behave the same.
9+
510
```shell
611
make kind-cluster
712
make docker-build

config/samples/telemetry-controller-routing/tc-tenant-a-logging.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ spec:
2525
matchLabels:
2626
tenant: customer-a
2727
routeConfig:
28-
enableTelemetryControllerRoute: true
29-
disableLoggingRoute: true
28+
enableTelemetryControllerRoute: false
29+
disableLoggingRoute: false
3030
tenantLabels:
3131
tenant: customer-a
3232
---
@@ -50,7 +50,7 @@ metadata:
5050
namespace: customer-a
5151
spec:
5252
http:
53-
endpoint: http://logging-operator-test-receiver.logging:8080
53+
endpoint: http://logging-operator-test-receiver.logging:8080/customer-a
5454
content_type: application/json
5555
buffer:
5656
type: memory

config/samples/telemetry-controller-routing/tc-tenant-b-logging.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ metadata:
5050
namespace: customer-b
5151
spec:
5252
http:
53-
endpoint: http://logging-operator-test-receiver.logging:8080
53+
endpoint: http://logging-operator-test-receiver.logging:8080/customer-b
5454
content_type: application/json
5555
buffer:
5656
type: memory

0 commit comments

Comments
 (0)