https://flyte.org logo
Title
d

Derek Yu

05/18/2023, 1:05 AM
Hi, are there any known problems with updating
cluster-resource-attribute
? Following this section to
flytectl update cluster-resource-attribute --attrFile cra.yaml
and when trying to restart flyteadmin it fails in the
sync-cluster-resources
init container (without any error logs).
Followed the format in the example:
attributes:
    projectQuotaCpu: "1000"
    projectQuotaMemory: 5TB
domain: development
project: flyteexamples
And able to get it after setting it, so it does seem to be set properly
y

Yee

05/18/2023, 3:16 AM
zero error logs is weird.
what is your log level set to? set it to 5
make sure that the admin is running with a service account that has rbac to set resource quotas on other namespaces.
d

Derek Yu

05/19/2023, 9:03 AM
Thanks @Yee was able to troubleshoot after doing that, turns out I set
GB
instead of
Gi