[
https://issues.apache.org/jira/browse/AIRFLOW-4516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16871251#comment-16871251
]
ASF subversion and git services commented on AIRFLOW-4516:
----------------------------------------------------------
Commit 96ea4bb3d6f6cf06d4f51429f65ea24d5ad2600a in airflow's branch
refs/heads/master from retornam
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=96ea4bb ]
[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.
> 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
>
> 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)