potiuk commented on code in PR #32767:
URL: https://github.com/apache/airflow/pull/32767#discussion_r1273989626
##########
airflow/providers/cncf/kubernetes/provider.yaml:
##########
@@ -124,3 +125,212 @@ connection-types:
task-decorators:
- class-name:
airflow.providers.cncf.kubernetes.decorators.kubernetes.kubernetes_task
name: kubernetes
+
+config:
+ local_kubernetes_executor:
+ description: |
+ This section only applies if you are using the
``LocalKubernetesExecutor`` in
+ ``[core]`` section above
+ options:
+ kubernetes_queue:
+ description: |
+ Define when to send a task to ``KubernetesExecutor`` when using
``LocalKubernetesExecutor``.
+ When the queue of a task is the value of ``kubernetes_queue``
(default ``kubernetes``),
+ the task is executed via ``KubernetesExecutor``,
+ otherwise via ``LocalExecutor``
+ version_added: ~
+ type: string
+ example: ~
+ default: "kubernetes"
+ kubernetes_executor:
+ description: ~
+ options:
+ api_client_retry_configuration:
+ description: |
+ Kwargs to override the default urllib3 Retry used in the kubernetes
API client
+ version_added: ~
+ type: string
+ example: '{ "total": 3, "backoff_factor": 0.5 }'
+ default: ""
+ logs_task_metadata:
+ description: |
+ Flag to control the information added to kubernetes executor logs
for better traceability
+ version_added: 7.4.0
Review Comment:
Makes sense.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]