# ask-the-community

Frank Shen

01/26/2024, 4:26 PM
Hello, Could anyone point me to how the extra namespaces (e.g. flytesnacks-development) that the pods for tasks are running under are managed (created, etc.) by Flyte? I think it’s in the GO code. I need to understand it to trouble-shoot why these namespaces were not found by flyteadmin at containers startup.
Copy code
sync-cluster-resources panic: Failed to sync cluster resources : Failed to create kubernetes object from config template [ad_spark_service_account.yaml] for namespace [flyteexamples-integration] with err: namespaces "flyteexamples-integration" not found,

Samhita Alla

01/29/2024, 5:51 AM
what namespaces do you currently have?
cc @David Espejo (he/him)

Frank Shen

01/29/2024, 4:43 PM
Hi @Samhita Alla. namespace: flyte

David Espejo (he/him)

01/29/2024, 5:12 PM
@Frank Shen The Cluster Resource Manager is the component that connects to flyteadmin, get the projects and reconcille the info it fins there into K8s resources. In the case of Spark, it's not only namespaces but Roles, SAs, etc This is the part of the code where the CRM interfaces with admin: The CRM is enabled by default but it's worth to double check that this is set:
Oh I get it, thanks for sharing @Frank Shen!