green-lizard-23192
09/02/2022, 4:07 AMglamorous-carpet-83516
09/02/2022, 5:30 AM$ k edit cm flyte-admin-config
task_resource_defaults.yaml: |
task_resources:
defaults:
cpu: 100m
memory: 500Mi
storage: 500Mi
limits:
cpu: 2
gpu: 1
memory: 1Gi <- change this value
storage: 20Mi
tall-lock-23197
green-lizard-23192
09/02/2022, 8:57 AMtall-lock-23197
glamorous-carpet-83516
09/02/2022, 12:59 PM$ git clone git@github.com:flyteorg/flyte.git
$ cd flyte
$ vim flyte.yaml (update config)
$ docker build -t pingsutw/sandbox-lite-test -f docker/sandbox-lite/Dockerfile . # Build image
$ docker push pingsutw/sandbox-lite-test
$ flytectl demo start --image pingsutw/sandbox-lite-test
high-park-82026
docker exec
into the cluster and modify the flyte.yaml
file, @glamorous-carpet-83516?glamorous-carpet-83516
09/02/2022, 6:37 PMhigh-park-82026
high-park-82026
docker run -v my_flyte.yaml:flyte.yaml …
?glamorous-carpet-83516
09/02/2022, 6:39 PMhigh-park-82026
glamorous-carpet-83516
09/02/2022, 6:40 PM