<#4975 [BUG] Task container terminate with error O...
# flyte-github
a
#4975 [BUG] Task container terminate with error OOMKilled with exit code 137 Issue created by spacepirate0001 ### Describe the bug Using
inline
to override Flyte configuration for
task_resources
is not working as expected. I added the following configuration to extend value.yaml in flyte-binary chart:
Copy code
# inline Specify additional configuration or overrides for Flyte, to be merged with the base configuration
  inline:
   task_resources:
    limits:
      cpu: 2
      memory: 3Gi
      ephemeralStorage: 0
      gpu: 0
    defaults:
      cpu: 2
      memory: 3Gi
      ephemeralStorage: 0
      gpu: 0
The added configuration did not yield the expected change on
task_resources
and task containers yaml showed the following in terms of resource settings:
Copy code
name: a4dlhcql89l2zsndtzcp-n1-0
    resources:
      limits:
        cpu: "1"
        memory: 2Gi
      requests:
        cpu: "1"
        memory: 2Gi
### Expected behavior task container resources should reflect the new configurations added to values.yaml i.e.
Copy code
# inline Specify additional configuration or overrides for Flyte, to be merged with the base configuration
  inline:
   task_resources:
    limits:
      cpu: 2
      memory: 3Gi
      ephemeralStorage: 0
      gpu: 0
    defaults:
      cpu: 2
      memory: 3Gi
      ephemeralStorage: 0
      gpu: 0
should have task container run with the following resources:
Copy code
name: a4dlhcql89l2zsndtzcp-n1-0
    resources:
      limits:
        cpu: "2"
        memory: 3Gi
      requests:
        cpu: "1"
        memory: 3Gi
### Additional context to reproduce No response ### Screenshots No response ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte