<#3941 [BUG] Setting ephemeral_storage request aut...
# flyte-github
c
#3941 [BUG] Setting ephemeral_storage request automatically sets ephemeral_storage limit with equal value Issue created by LukasBommes ### Describe the bug This task annotation
Copy code
@task(
    requests=Resources(cpu="100m", mem="100Mi", ephemeral_storage="20Gi"),
    limits=Resources(cpu="1", mem="1Gi"),
)
leads to the following pod spec in Kubernetes
Copy code
Limits:
      cpu:                1
      ephemeral-storage:  20Gi
      memory:             1Gi
    Requests:
      cpu:                100m
      ephemeral-storage:  20Gi
      memory:             100Mi
### Expected behavior However, I expect the resulting pod spec to look like this
Copy code
Limits:
      cpu:                1
      memory:             1Gi
    Requests:
      cpu:                100m
      ephemeral-storage:  20Gi
      memory:             100Mi
I.e., there should be no limit set for ephemeral-storage. ### Additional context to reproduce On-prem deployment of flyte-binary 1.8.1 ### Screenshots No response ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte