gray-ocean-62145
03/01/2023, 9:12 AMboundless-pizza-95864
03/01/2023, 12:15 PM010-inline-config.yaml: |
plugins:
k8s:
default-env-vars:
- FLYTE_AWS_ENDPOINT: <http://sandbox-minio.flyte:9000>
- FLYTE_AWS_ACCESS_KEY_ID: minio
- FLYTE_AWS_SECRET_ACCESS_KEY: miniostorage
task_resources:
defaults:
cpu: 1
memory: 4Gi
storage: 5Gi
limits:
cpu: 16
memory: 16Gi
storage: 20Gi
Or edit the your corresponding values if you're using the helm chart.gray-ocean-62145
03/01/2023, 12:35 PMfreezing-airport-6809
freezing-airport-6809
agreeable-thailand-50345
09/14/2023, 10:58 PMagreeable-thailand-50345
09/14/2023, 10:58 PMagreeable-thailand-50345
09/14/2023, 10:58 PMaverage-finland-92144
09/15/2023, 4:05 PMflytectl version 0.6.45
) and the limits are applied if they land on the configmap
1. kubectl edit cm flyte-sandbox-config -n flyte
2. Find the 100-inline-config.yaml
section and add the task_resources
section described on this thread (adjust numbers to match your needs)
That will set platform-wide resource limits, which is the max amount of resources users can request on a Task.agreeable-thailand-50345
09/15/2023, 4:09 PMagreeable-thailand-50345
09/15/2023, 4:09 PMagreeable-thailand-50345
09/15/2023, 4:09 PMaverage-finland-92144
09/15/2023, 4:15 PMagreeable-thailand-50345
09/15/2023, 4:16 PMagreeable-thailand-50345
09/15/2023, 4:42 PMagreeable-thailand-50345
09/15/2023, 4:48 PM