Граф коммитов

17 Коммитов

Автор SHA1 Сообщение Дата
George Miller 1b19b0cffc [AIRFLOW-4846] Allow kube git-sync mode to use existing secret for git credentials (#5475) 2019-08-19 16:52:34 +01:00
Marcin Szymański 4dfe2497fb [AIRFLOW-5048] Improve display of Kubernetes resources (#5665) 2019-08-05 13:25:06 +02:00
Kamil Breguła 58a680c02f [AIRFLOW-4948] Use items, values method instead six package (#5582) 2019-07-30 09:44:05 +02:00
CatarinaSilva 7c5c3b9377 [AIRFLOW-3617] Add gpu limits option in configurations for executor and pod (#5643) 2019-07-26 17:55:01 +02:00
Andrii Soldatenko d168cdcde6 [AIRFLOW-XXX] fix copy/pasta in k8s request factory extract resources (#5657)
* fix copy/pasta in k8s request factory extract resorces

* fix test KubernetesPodOperatorTest.test_pod_resources
2019-07-25 10:21:08 -07:00
mingjie-li b0bb65dd67 [AIRFLOW-4856] Make git sync run_as_user an config option (#5494)
* [AIRFLOW-4856] change hard coded run_as_user

try to use worker_run_as_user

* [AIRFLOW-4856] change hard coded run_as_user

add unit test

* [AIRFLOW-4856] change hard coded run_as_user

create new param git_sync_run_as_user

* [AIRFLOW-4856] change hard coded run_as_user

add back remove option

* [AIRFLOW-4856] change hard coded run_as_user

fix Flake8

* [AIRFLOW-4856] change hard coded run_as_user

fix Flake8

* [AIRFLOW-4856] change hard coded run_as_user

fix unit test

* [AIRFLOW-4856] change hard coded run_as_user

change the default value to it's old 65533
2019-07-24 13:22:07 -07:00
George Miller 2bf4fe3bc8 [AIRFLOW-4845] Fix bug where runAsUser 0 doesn't get set in k8s security context (#5474) 2019-06-26 12:12:16 +01:00
Bruno Campos d5a0e9427f [AIRFLOW-3703] Add dnsPolicy option for KubernetesPodOperator (#4520) 2019-06-21 16:23:20 +01:00
George Miller f457b1f4ae [AIRFLOW-4739] Add ability to arbitrarily define kubernetes worker pod labels (#5376)
Allow task definitions to specify labels on the worker pods that
execute that task by specifying an extra field in executor_config
like so
`executor_config={"KubernetesExecutor": {"labels": {"foo":"bar"}}}`
2019-06-21 14:30:36 +07:00
Kamil Breguła f34e13ab32 [AIRFLOW-4820] Fix unnecessary-pass errors in pylint (#5441) 2019-06-20 05:08:20 +02:00
Ron van Weverwijk 6eb326255d [AIRFLOW-4781] Add the ability to specify ports in kubernetesOperator (#5410)
* [AIRFLOW-4781] Added the ability to specify ports in kubernetesOperator

* [AIRFLOW-4781] Added the ability to specify ports in kubernetesOperator

* [AIRFLOW-4781] Added the ability to specify ports in kubernetesOperator

added docstring

* [AIRFLOW-4781] Added the ability to specify ports in kubernetesOperator

add typehints

Co-Authored-By: Fokko Driesprong <fokko@driesprong.frl>

* [AIRFLOW-4781] Added the ability to specify ports in kubernetesOperator

fixed docstrings and typehints
2019-06-18 13:09:15 +02:00
Ash Berlin-Taylor 3b8e99166c [AIRFLOW-3729] Fix pylint issues from #4554
That PR was opened before Pylint was added to the repo so we merged with
a green check that then broke things
2019-06-10 10:54:37 +01:00
Bruno Campos 0224105343 [AIRFLOW-3729] Support "DownwardAPI" in env variables for KubernetesPodOperator (#4554)
https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/#the-downward-api
2019-06-10 10:26:06 +01:00
Philippe Gagnon 5899cec01e [AIRFLOW-4585] Implement Kubernetes Pod Mutation Hook (#5359) 2019-06-04 21:40:43 +07:00
Bas Harenslak 05c06b0f66 [AIRFLOW-4205] Replace type comments by native Python typing (#5327)
We supported typing in Python 2 with mypy & type comments. Now that
we're dropping Python 2 support, we can switch to native Python types.
We support Python 3.5 which doesn't include variable type annotations
yet, so only function arguments and return values are typed.
2019-05-25 20:58:13 +02:00
Olivier Van Goethem 3882beaf85 [AIRFLOW-4393] Add exponential backoff retry (#5284) 2019-05-20 08:43:15 -07:00
Daniel Imberman f153bf5367
[AIRFLOW-4487] Move k8s executor from contrib folder to main project (#5261)
* Move k8s executor from contrib folder

Considering that the k8s executor is now fully supported by core
committers, we should move it from contrib to the primary executor
directory.
2019-05-09 16:05:31 -07:00