diff --git a/stacks/_templates/vector-aggregator-console.yaml b/stacks/_templates/vector-aggregator-console.yaml new file mode 100644 index 00000000..7679e166 --- /dev/null +++ b/stacks/_templates/vector-aggregator-console.yaml @@ -0,0 +1,25 @@ +releaseName: vector-aggregator +name: vector +repo: + name: vector + url: https://helm.vector.dev +version: 0.34.0 +options: + commonLabels: + stackable.tech/vendor: Stackable + podLabels: # Doesn't seem to work? + stackable.tech/vendor: Stackable + role: Aggregator + customConfig: + sources: + vector: + address: 0.0.0.0:6000 + type: vector + version: "2" + sinks: + console: + type: console + encoding: + codec: json + inputs: + - vector diff --git a/stacks/stacks-v2.yaml b/stacks/stacks-v2.yaml index 1c49ef88..70d00199 100644 --- a/stacks/stacks-v2.yaml +++ b/stacks/stacks-v2.yaml @@ -1,5 +1,15 @@ --- stacks: + dev-logging: + description: Vector aggregator with console output to allow scraping logs with lnav + stackableRelease: dev + stackableOperators: + labels: + - logging + - vector + manifests: + - helmChart: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/_templates/vector-aggregator-console.yaml + - plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/_templates/vector-aggregator-discovery.yaml monitoring: description: Stack containing Prometheus and Grafana stackableRelease: dev