cuddly-jelly-27016
05/16/2025, 12:10 AM@task(
requests=Resources(cpu="100m", mem="100Mi", ephemeral_storage="20Gi"),
limits=Resources(cpu="1", mem="1Gi"),
)
leads to the following pod spec in Kubernetes
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
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/flytecuddly-jelly-27016
05/16/2025, 12:10 AM