ashb commented on a change in pull request #6230: [AIRFLOW-5413] Allow K8S
worker pod to be configured from JSON/YAML file
URL: https://github.com/apache/airflow/pull/6230#discussion_r355993334
##########
File path: airflow/kubernetes/worker_configuration.py
##########
@@ -25,11 +25,15 @@
from airflow.kubernetes.pod_generator import PodGenerator
from airflow.kubernetes.secret import Secret
from airflow.utils.log.logging_mixin import LoggingMixin
-from airflow.version import version as airflow_version
class WorkerConfiguration(LoggingMixin):
- """Contains Kubernetes Airflow Worker configuration logic"""
+ """
+ Contains Kubernetes Airflow Worker configuration logic
+
+ :param kube_config: the kubernetes configuration from airflow.cfg
Review comment:
```suggestion
:param kube_config: the kubernetes configuration from airflow.cfg
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services