:wave: we’re currently testing out multiple projec...
# flyte-deployment
b
👋 we’re currently testing out multiple projects on our Flyte deployment with k8s submitting pods to the project namespace. Is there a recommended way of dynamically creating/syncing these resources? We found https://github.com/flyteorg/flyte/blob/master/deployment/sandbox/flyte_generated.yaml#L3537 but am unsure what
Copy code
- command:
            - flyteadmin
            - --config
            - /etc/flyte/config/*.yaml
            - clusterresource
            - sync
does and I couldn’t seem to find any documentation around that. cc @jonbender
k
hey @Brian Tang sync cluster resources should be the way to go! there should be some docs here: https://docs.flyte.org/en/latest/deployment/cluster_config/general.html#cluster-resources but tl;dr you can use the controller to dynamically provision per-namespace k8s resources
these docs could definitely be fleshed out more 😅 so please let us know if you have specific questions in the meantime we can help with
🙏 1
this is how we use the controller to set per-namespace project quota in the core flyte deployment: https://github.com/flyteorg/flyte/blob/master/charts/flyte-core/values.yaml#L647,L693
b
Thanks for the pointers @katrina! Will try a few things on our end and will raise questions if we come across them 🙂
👍 1
166 Views