[
https://issues.apache.org/jira/browse/AIRFLOW-4516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16872243#comment-16872243
]
ASF subversion and git services commented on AIRFLOW-4516:
----------------------------------------------------------
Commit b2eba0f93b93654c975a9ad18e171fcb296d9342 in airflow's branch
refs/heads/v1-10-stable from retornam
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=b2eba0f ]
[AIRFLOW-4516] K8s runAsUser and fsGroup cannot be strings (#5429)
The securityContext sections for runAsUser and fsGroup in Pod
definitions are always integers. This PR updates makes sure
the configuration returns an integer for both runAsUser and
fsGroup.
(cherry picked from commit 96ea4bb3d6f6cf06d4f51429f65ea24d5ad2600a)
> Kubernetes run_as_user and fs_group cannot be strings
> -----------------------------------------------------
>
> Key: AIRFLOW-4516
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4516
> Project: Apache Airflow
> Issue Type: Bug
> Components: operators
> Affects Versions: 1.10.3
> Reporter: Steven Locke
> Priority: Minor
> Labels: beginner, kubernetes
> Fix For: 1.10.4
>
>
> The kubernetes operator fails to create pods because the run_as_user and the
> fs_group cannot be strings.
> Please change `get` to `getint` at
> [https://github.com/apache/airflow/blob/master/airflow/executors/kubernetes_executor.py#L160]
> and
> [https://github.com/apache/airflow/blob/master/airflow/executors/kubernetes_executor.py#L161]
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)