Stay organized with collections Save and categorize content based on your preferences.
Namespaces and Google Cloud projects
Config Connector creates Google Cloud resources using Kubernetes configuration. These resources are organized in Kubernetes Namespaces.
How Config Connector uses Namespaces
Config Connector can use the annotations on the resource's Namespace to determine what project, folder, or organization to create the resources in. The Namespace's annotation will only be applied if the resource configuration does not already specify where to create the resource. For more information, see Organizing resources with projects and folders
For example, if you want to create a Cloud SQL Instance with a name of mySQL in your project with a project ID of myProject, then run this command to annotate your namespace:
Then, create a Config Connector SQLInstance with a name of mySQL in your namespace. Config Connector creates a corresponding Cloud SQL instance in your specified Google Cloud project, based on the configured namespace annotation.
Using Namespaces with projects, folders, and organizations
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eConfig Connector utilizes Kubernetes Namespaces to manage the creation of Google Cloud resources.\u003c/p\u003e\n"],["\u003cp\u003eAnnotations within a Namespace can specify the Google Cloud project, folder, or organization where Config Connector should provision resources.\u003c/p\u003e\n"],["\u003cp\u003eIf a resource configuration already includes project details, the Namespace's annotation is ignored by Config Connector.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Cloud's resource hierarchy, including Projects, Folders, and Organizations, can be mapped to Config Connector Namespaces using annotations.\u003c/p\u003e\n"]]],[],null,[]]