You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/09/27 16:44:15 UTC
[airflow] 02/03: Update UPDATING.md (#11172)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 2abff085b83d7ba7253f7754fffc89f853f8cdd4
Author: Kamil BreguĊa <mi...@users.noreply.github.com>
AuthorDate: Sun Sep 27 18:24:24 2020 +0200
Update UPDATING.md (#11172)
(cherry picked from commit 2d831fbbc540051c2e9ed6da1e9e361df5383dc0)
---
UPDATING.md | 34 ++++++++++++++++++++++++----------
1 file changed, 24 insertions(+), 10 deletions(-)
diff --git a/UPDATING.md b/UPDATING.md
index a6fa086..2057491 100644
--- a/UPDATING.md
+++ b/UPDATING.md
@@ -122,6 +122,27 @@ auth_backend = airflow.api.auth.backend.default
Since XCom values can contain pickled data, we would no longer allow adding or
changing XCom values from the UI.
+### Default for `run_as_user` configured has been changed to 50000 from 0
+
+The UID to run the first process of the Worker PODs when using has been changed to `50000`
+from the previous default of `0`. The previous default was an empty string but the code used `0` if it was
+empty string.
+
+**Before**:
+
+```ini
+[kubernetes]
+run_as_user =
+```
+
+**After**:
+
+```ini
+[kubernetes]
+run_as_user = 50000
+```
+
+This is done to avoid running the container as `root` user.
## Airflow 1.10.10
@@ -163,7 +184,6 @@ When task is marked failed by user or task fails due to system failures - on fai
See [AIRFLOW-5621](https://jira.apache.org/jira/browse/AIRFLOW-5621) for details
-
## Airflow 1.10.7
### Changes in experimental API execution_date microseconds replacement
@@ -235,12 +255,6 @@ This is the correct behavior for use with BigQuery, since BigQuery
assumes that TIMESTAMP columns without time zones are in UTC. To
preserve the previous behavior, set `ensure_utc` to `False.`
-### Python 2 support is going away
-
-Airflow 1.10 will be the last release series to support Python 2. Airflow 2.0.0 will only support Python 3.5 and up.
-
-If you have a specific task that still requires Python 2 then you can use the PythonVirtualenvOperator for this.
-
### Changes to DatastoreHook
* removed argument `version` from `get_conn` function and added it to the hook's `__init__` function instead and renamed it to `api_version`
@@ -368,7 +382,7 @@ If the `AIRFLOW_CONFIG` environment variable was not set and the
will discover its config file using the `$AIRFLOW_CONFIG` and `$AIRFLOW_HOME`
environment variables rather than checking for the presence of a file.
-### Changes in Google Cloud Platform related operators
+### Changes in Google Cloud related operators
Most GCP-related operators have now optional `PROJECT_ID` parameter. In case you do not specify it,
the project id configured in
@@ -395,7 +409,7 @@ Operators involved:
Other GCP operators are unaffected.
-### Changes in Google Cloud Platform related hooks
+### Changes in Google Cloud related hooks
The change in GCP operators implies that GCP Hooks for those operators require now keyword parameters rather
than positional ones in all methods where `project_id` is used. The methods throw an explanatory exception
@@ -463,7 +477,7 @@ gct_hook.create_transfer_job(body)
```
The change results from the unification of all hooks and adjust to
[the official recommendations](https://lists.apache.org/thread.html/e8534d82be611ae7bcb21ba371546a4278aad117d5e50361fd8f14fe@%3Cdev.airflow.apache.org%3E)
-for the Google Cloud Platform.
+for the Google Cloud.
The signature of `wait_for_transfer_job` method in `GCPTransferServiceHook` has changed.