File tree Expand file tree Collapse file tree
rust/operator-binary/src/controller/build/properties/product_logging
tests/templates/kuttl/logging Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252 roles leave unset ([ #867 ] ).
5353- Bump stackable-operator to 0.121.0 ([ #868 ] , [ #879 ] ).
5454- Docs: remove Spark submit/monitor classes and refer to demo usage instead ([ #870 ] ).
55- - test: Bump vector-aggregator to 0.58.0 ([ #876 ] ).
55+ - Support Vector 0.58.0 ([ #876 ] , [ # 878 ] ).
5656- Replace the unmaintained ` serde_yaml ` with ` yaml_serde ` ([ #879 ] ).
5757- All pods now set ` securityContext.seccompProfile.type ` to ` RuntimeDefault ` ([ #879 ] ).
5858
9292[ #870 ] : https://github.com/stackabletech/airflow-operator/pull/870
9393[ #872 ] : https://github.com/stackabletech/airflow-operator/pull/872
9494[ #876 ] : https://github.com/stackabletech/airflow-operator/pull/876
95+ [ #878 ] : https://github.com/stackabletech/airflow-operator/pull/878
9596[ #879 ] : https://github.com/stackabletech/airflow-operator/pull/879
9697
9798## [ 26.7.0] - 2026-07-21
Original file line number Diff line number Diff line change 1+ ---
2+ # Pin the timezone so that it does not affect the tests
3+ timezone : Etc/UTC
Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
22
3- # `TZ=UTC` so the Python-JSON `asctime` (which has no timezone) parses deterministically.
4- TZ=UTC \
5- DATA_DIR=/stackable/log/_vector-state \
6- LOG_DIR=/stackable/log \
7- NAMESPACE=default \
8- CLUSTER_NAME=airflow \
9- ROLE_NAME=webserver \
10- ROLE_GROUP_NAME=default \
11- VECTOR_AGGREGATOR_ADDRESS=vector-aggregator \
12- VECTOR_FILE_LOG_LEVEL=info \
13- vector test vector.yaml vector-test.yaml
3+ set -eu
4+
5+ export DATA_DIR=/stackable/log/_vector-state
6+ export LOG_DIR=/stackable/log
7+ export NAMESPACE=default
8+ export CLUSTER_NAME=airflow
9+ export ROLE_NAME=webserver
10+ export ROLE_GROUP_NAME=default
11+ export VECTOR_AGGREGATOR_ADDRESS=http://vector-aggregator:6000
12+ export VECTOR_FILE_LOG_LEVEL=info
13+
14+ # Required because vector.yaml contains ${...} placeholders
15+ export VECTOR_DANGEROUSLY_ALLOW_ENV_VAR_INTERPOLATION=true
16+
17+ vector validate --no-environment vector.yaml
18+
19+ vector test test-config.yaml vector.yaml vector-test.yaml
Original file line number Diff line number Diff line change 1717 timestamp : 2025-10-02T09:27:28.582Z
1818 outputs :
1919 - extract_from : extended_logs
20+ expected_event_count : 1
2021 conditions :
2122 - type : vrl
2223 source : |
4748 timestamp : 2025-10-02T09:27:28.582Z
4849 outputs :
4950 - extract_from : extended_logs
51+ expected_event_count : 1
5052 conditions :
5153 - type : vrl
5254 source : |
7779 timestamp : 2025-10-02T09:27:29.473487331Z
7880 outputs :
7981 - extract_from : extended_logs
82+ expected_event_count : 1
8083 conditions :
8184 - type : vrl
8285 source : |
@@ -114,6 +117,7 @@ tests:
114117 version : 0.56.0
115118 outputs :
116119 - extract_from : extended_logs
120+ expected_event_count : 1
117121 conditions :
118122 - type : vrl
119123 source : |
@@ -142,6 +146,7 @@ tests:
142146 level : INFO
143147 outputs :
144148 - extract_from : filtered_logs_vector
149+ expected_event_count : 1
145150 conditions :
146151 - type : vrl
147152 source : |
Original file line number Diff line number Diff line change @@ -111,7 +111,9 @@ transforms:
111111 # Extends the processed files with the fields "container" and "file"
112112 extended_logs_files :
113113 inputs :
114- - processed_files_*
114+ - processed_files_stdout
115+ - processed_files_stderr
116+ - processed_files_py
115117 type : remap
116118 source : |
117119 del(.source_type)
@@ -149,7 +151,8 @@ transforms:
149151 # Add the fields "namespace", "cluster", "role" and "roleGroup" to all logs
150152 extended_logs :
151153 inputs :
152- - extended_logs_*
154+ - extended_logs_files
155+ - extended_logs_vector
153156 type : remap
154157 source : |
155158 .namespace = "${NAMESPACE}"
@@ -163,4 +166,8 @@ sinks:
163166 inputs :
164167 - extended_logs
165168 type : vector
166- address : ${VECTOR_AGGREGATOR_ADDRESS}
169+ routing :
170+ endpoints :
171+ - ${VECTOR_AGGREGATOR_ADDRESS}
172+ compression : zstd
173+ keepalive : {}
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ kind: ConfigMap
1414metadata :
1515 name : airflow-vector-aggregator-discovery
1616data :
17- ADDRESS : airflow-vector-aggregator:6123
17+ ADDRESS : http:// airflow-vector-aggregator:6123
You can’t perform that action at this time.
0 commit comments