Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
roles leave unset ([#867]).
- Bump stackable-operator to 0.121.0 ([#868], [#879]).
- Docs: remove Spark submit/monitor classes and refer to demo usage instead ([#870]).
- test: Bump vector-aggregator to 0.58.0 ([#876]).
- Support Vector 0.58.0 ([#876], [#878]).
- Replace the unmaintained `serde_yaml` with `yaml_serde` ([#879]).
- All pods now set `securityContext.seccompProfile.type` to `RuntimeDefault` ([#879]).

Expand Down Expand Up @@ -92,6 +92,7 @@
[#870]: https://github.com/stackabletech/airflow-operator/pull/870
[#872]: https://github.com/stackabletech/airflow-operator/pull/872
[#876]: https://github.com/stackabletech/airflow-operator/pull/876
[#878]: https://github.com/stackabletech/airflow-operator/pull/878
[#879]: https://github.com/stackabletech/airflow-operator/pull/879

## [26.7.0] - 2026-07-21
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
# Pin the timezone so that it does not affect the tests
timezone: Etc/UTC
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
#!/usr/bin/env sh

# `TZ=UTC` so the Python-JSON `asctime` (which has no timezone) parses deterministically.
TZ=UTC \
DATA_DIR=/stackable/log/_vector-state \
LOG_DIR=/stackable/log \
NAMESPACE=default \
CLUSTER_NAME=airflow \
ROLE_NAME=webserver \
ROLE_GROUP_NAME=default \
VECTOR_AGGREGATOR_ADDRESS=vector-aggregator \
VECTOR_FILE_LOG_LEVEL=info \
vector test vector.yaml vector-test.yaml
set -eu

export DATA_DIR=/stackable/log/_vector-state
export LOG_DIR=/stackable/log
export NAMESPACE=default
export CLUSTER_NAME=airflow
export ROLE_NAME=webserver
export ROLE_GROUP_NAME=default
export VECTOR_AGGREGATOR_ADDRESS=http://vector-aggregator:6000
export VECTOR_FILE_LOG_LEVEL=info

# Required because vector.yaml contains ${...} placeholders
export VECTOR_DANGEROUSLY_ALLOW_ENV_VAR_INTERPOLATION=true

vector validate --no-environment vector.yaml
Comment thread
siegfriedweber marked this conversation as resolved.

vector test test-config.yaml vector.yaml vector-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ tests:
timestamp: 2025-10-02T09:27:28.582Z
outputs:
- extract_from: extended_logs
expected_event_count: 1
conditions:
- type: vrl
source: |
Expand Down Expand Up @@ -47,6 +48,7 @@ tests:
timestamp: 2025-10-02T09:27:28.582Z
outputs:
- extract_from: extended_logs
expected_event_count: 1
conditions:
- type: vrl
source: |
Expand Down Expand Up @@ -77,6 +79,7 @@ tests:
timestamp: 2025-10-02T09:27:29.473487331Z
outputs:
- extract_from: extended_logs
expected_event_count: 1
conditions:
- type: vrl
source: |
Expand Down Expand Up @@ -114,6 +117,7 @@ tests:
version: 0.56.0
outputs:
- extract_from: extended_logs
expected_event_count: 1
conditions:
- type: vrl
source: |
Expand Down Expand Up @@ -142,6 +146,7 @@ tests:
level: INFO
outputs:
- extract_from: filtered_logs_vector
expected_event_count: 1
conditions:
- type: vrl
source: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ transforms:
# Extends the processed files with the fields "container" and "file"
extended_logs_files:
inputs:
- processed_files_*
- processed_files_stdout
- processed_files_stderr
- processed_files_py
type: remap
source: |
del(.source_type)
Expand Down Expand Up @@ -149,7 +151,8 @@ transforms:
# Add the fields "namespace", "cluster", "role" and "roleGroup" to all logs
extended_logs:
inputs:
- extended_logs_*
- extended_logs_files
- extended_logs_vector
type: remap
source: |
.namespace = "${NAMESPACE}"
Expand All @@ -163,4 +166,8 @@ sinks:
inputs:
- extended_logs
type: vector
address: ${VECTOR_AGGREGATOR_ADDRESS}
routing:
endpoints:
- ${VECTOR_AGGREGATOR_ADDRESS}
compression: zstd
keepalive: {}
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ kind: ConfigMap
metadata:
name: airflow-vector-aggregator-discovery
data:
ADDRESS: airflow-vector-aggregator:6123
ADDRESS: http://airflow-vector-aggregator:6123
Loading