Björn
01/25/2023, 7:45 PMKetan (kumare3)
Björn
01/25/2023, 8:02 PMKetan (kumare3)
Björn
01/26/2023, 6:47 AMsandbox-flyte-binary-config
... But there is a bit of a mismatch between the keys... in the CM there is a key plugins.k8s-array
- would that match the plugins.k8s
in the documentation? I'll give it a try 🙂Ketan (kumare3)
jeev
Björn
01/26/2023, 4:00 PMjeev
apiVersion: v1
data:
100-overrides.yaml: |
task_resources:
defaults:
cpu: 1
memory: 2Gi
ephemeral-storage: 10Gi
limits:
cpu: 16
memory: 64Gi
ephemeral-storage: 500Gi
kind: ConfigMap
metadata:
name: sandbox-flyte-binary-config
namespace: flyte
write this to a file like patch.yaml
then:
kubectl patch configmap sandbox-flyte-binary-config --patch-file patch.yaml
confirm that it made the change:
kubectl get configmap sandbox-flyte-binary-config -o yaml
and you can restart flyte with:
kubectl rollout restart deployment/sandbox-flyte-binary -n flyte
or
flytectl demo reload
Björn
01/26/2023, 4:16 PMjeev
Björn
01/26/2023, 5:49 PMBrian Tang
02/01/2023, 9:20 AMsandbox-flyte-binary
configmap or deployment in my sandbox environment. what should i be looking for here? this is based on flytectl sandbox start
thanks!
(flyte) briant@Ashriels-MacBook-Pro flyte-test % k get deployments.apps
No resources found in default namespace.
(flyte) briant@Ashriels-MacBook-Pro flyte-test % k get deployments.apps -n flyte
NAME READY UP-TO-DATE AVAILABLE AGE
flyte-deps-kubernetes-dashboard 1/1 1 1 56m
flyte-deps-contour-contour 1/1 1 1 56m
postgres 1/1 1 1 56m
minio 1/1 1 1 56m
flytepropeller 1/1 1 1 55m
flyte-pod-webhook 1/1 1 1 55m
flyteconsole 1/1 1 1 55m
datacatalog 1/1 1 1 55m
syncresources 1/1 1 1 55m
flyteadmin 1/1 1 1 55m
flytescheduler 1/1 1 1 55m
(flyte) briant@Ashriels-MacBook-Pro flyte-test % k get cm
NAME DATA AGE
kube-root-ca.crt 1 57m
(flyte) briant@Ashriels-MacBook-Pro flyte-test % k get cm -n flyte
NAME DATA AGE
kube-root-ca.crt 1 57m
flyte-deps-contour 1 56m
kubernetes-dashboard-settings 0 56m
flyte-propeller-config 10 55m
flyte-admin-clusters-config 1 55m
clusterresource-template 2 55m
flyte-console-config 3 55m
flyte-scheduler-config 3 55m
flyte-clusterresourcesync-config 4 55m
datacatalog-config 3 55m
flyte-admin-base-config 7 55m
propeller-leader 0 55m
leader-elect 0 56m
flyte-admin-base-config
instead to set a higher limitflyteadmin
, not sure whether this was necessary thojeev
Ketan (kumare3)
Brian Tang
02/02/2023, 9:31 AMflytectl 0.6.26
? i was using 0.6.25 previously i believe. what’s the difference between flytectl demo start
and flytectl sandbox start
?Ketan (kumare3)
jeev