-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add Kubernetes executor S3 logging docs (#576)
* add kubernetes executor s3 logging docs * attempt to fix linter * attempt to fix linter 2 * attempt to fix linter * Update docs/modules/airflow/pages/usage-guide/using-kubernetes-executors.adoc Co-authored-by: Sebastian Bernauer <[email protected]> * Update docs/modules/airflow/pages/usage-guide/using-kubernetes-executors.adoc Co-authored-by: Sebastian Bernauer <[email protected]> * Apply suggestions from code review Co-authored-by: Sebastian Bernauer <[email protected]> * dont use env abbreviation * use anchors in yaml * Update docs/modules/airflow/examples/example-airflow-kubernetes-executor-s3-logging.yaml Co-authored-by: Sebastian Bernauer <[email protected]> * improve language * linter... --------- Co-authored-by: Sebastian Bernauer <[email protected]>
- Loading branch information
1 parent
43038de
commit 9992513
Showing
4 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
docs/modules/airflow/examples/example-airflow-kubernetes-executor-s3-logging.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: airflow.stackable.tech/v1alpha1 | ||
kind: AirflowCluster | ||
metadata: | ||
name: airflow | ||
spec: | ||
image: | ||
productVersion: 2.9.3 | ||
clusterConfig: {} | ||
webservers: | ||
envOverrides: &s3-logging-env-overrides | ||
AIRFLOW_LOGGING_REMOTE_LOGGING: "True" | ||
AIRFLOW_LOGGING_REMOTE_BASE_LOG_FOLDER: s3://<bucket-name>/airflow-task-logs/ | ||
# The name / connection ID created in the Airflow Web UI | ||
AIRFLOW_LOGGING_REMOTE_LOG_CONN_ID: minio | ||
roleGroups: | ||
default: | ||
replicas: 1 | ||
schedulers: | ||
envOverrides: *s3-logging-env-overrides | ||
roleGroups: | ||
default: | ||
replicas: 1 | ||
kubernetesExecutors: | ||
envOverrides: *s3-logging-env-overrides |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters