You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/08/25 15:44:14 UTC

[GitHub] [airflow] mgerlach commented on pull request #6337: [AIRFLOW-5659] - Add support for ephemeral storage on KubernetesPodOp…

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