diff --git a/deployment/sandbox/flyte_generated.yaml b/deployment/sandbox/flyte_generated.yaml index ec01d50d91..1da79f75b5 100644 --- a/deployment/sandbox/flyte_generated.yaml +++ b/deployment/sandbox/flyte_generated.yaml @@ -1838,7 +1838,7 @@ data: task_resources: defaults: cpu: 100m - memory: 100Mi + memory: 200Mi storage: 5Mi limits: cpu: 2 @@ -1847,7 +1847,7 @@ data: gpu: 1 kind: ConfigMap metadata: - name: flyte-admin-config-k7f4k7g76c + name: flyte-admin-config-5b5g7785h8 namespace: flyte --- apiVersion: v1 @@ -2426,7 +2426,7 @@ spec: - emptyDir: {} name: shared-data - configMap: - name: flyte-admin-config-k7f4k7g76c + name: flyte-admin-config-5b5g7785h8 name: config-volume - name: db-pass secret: @@ -2613,7 +2613,7 @@ spec: name: clusterresource-template-dtg8ff28mt name: resource-templates - configMap: - name: flyte-admin-config-k7f4k7g76c + name: flyte-admin-config-5b5g7785h8 name: config-volume - name: db-pass secret: diff --git a/kustomize/overlays/sandbox/config/admin/task_resource_defaults.yaml b/kustomize/overlays/sandbox/config/admin/task_resource_defaults.yaml new file mode 100644 index 0000000000..dc71781b13 --- /dev/null +++ b/kustomize/overlays/sandbox/config/admin/task_resource_defaults.yaml @@ -0,0 +1,10 @@ +task_resources: + defaults: + cpu: 100m + memory: 200Mi + storage: 5Mi + limits: + cpu: 2 + memory: 8Gi + storage: 20Mi + gpu: 1 diff --git a/kustomize/overlays/sandbox/kustomization.yaml b/kustomize/overlays/sandbox/kustomization.yaml index 5ea13353eb..e60cd33045 100644 --- a/kustomize/overlays/sandbox/kustomization.yaml +++ b/kustomize/overlays/sandbox/kustomization.yaml @@ -30,6 +30,7 @@ configMapGenerator: - behavior: merge files: - ./config/admin/db.yaml + - ./config/admin/task_resource_defaults.yaml - ./config/common/storage.yaml - ./config/common/logger.yaml name: flyte-admin-config