You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/08/25 15:45:00 UTC

[jira] [Commented] (AIRFLOW-5659) Add support for ephemeral storage on KubernetesPodOperator

    [ https://issues.apache.org/jira/browse/AIRFLOW-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17184147#comment-17184147 ] 

ASF GitHub Bot commented on AIRFLOW-5659:
-----------------------------------------

mgerlach commented on pull request #6337:
URL: https://github.com/apache/airflow/pull/6337#issuecomment-680106279


   Hi, we migrated from 1.10.10 to 1.10.11 today. We are using Kubernetes Pod Operator and DO NOT specify ephemeral-storage in resources. Now our cluster (OpenShift 3.9) responds with HTTP 422
   `Forbidden: ResourceEphemeralStorage field disabled by feature-gate for ResourceRequirements","field":"spec.containers[0].resources.limits"`
   
   Looking at the JSON, this was sent to OpenShift bei the operator:
   `
    "resources": {
             "limits": {
               "cpu": "4",
               "memory": "16Gi",
               "nvidia.com/gpu": null,
               "ephemeral-storage": null
             },
             "requests": {
               "cpu": "500m",
               "memory": "16Gi",
               "ephemeral-storage": null
             }
           },
   `
   
   I think it's an error to send the attribute at all if it is not specified. Any opinions on this?


----------------------------------------------------------------
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:
users@infra.apache.org


> Add support for ephemeral storage on KubernetesPodOperator
> ----------------------------------------------------------
>
>                 Key: AIRFLOW-5659
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5659
>             Project: Apache Airflow
>          Issue Type: New Feature
>          Components: operators
>    Affects Versions: 2.0.0
>            Reporter: Leonardo Miguel
>            Assignee: Leonardo Miguel
>            Priority: Minor
>             Fix For: 1.10.11
>
>
> KubernetesPodOperator currently doesn't support requests and limits for resource 'ephemeral-storage'.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)