Michael Tinsley
03/01/2023, 9:12 AMSören Brunk
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.Michael Tinsley
03/01/2023, 12:35 PMKetan (kumare3)
Abin Shahab
09/14/2023, 10:58 PMDavid Espejo (he/him)
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.Abin Shahab
09/15/2023, 4:09 PMDavid Espejo (he/him)
09/15/2023, 4:15 PMAbin Shahab
09/15/2023, 4:16 PM