[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[[["\u003cp\u003eConfig Connector defaults to using the Google Cloud project ID as the resource's namespace.\u003c/p\u003e\n"],["\u003cp\u003eYou can change the default namespace for \u003ccode\u003ekubectl\u003c/code\u003e commands to avoid specifying it each time.\u003c/p\u003e\n"],["\u003cp\u003eThe command \u003ccode\u003ekubectl config set-context --current --namespace NAMESPACE_NAME\u003c/code\u003e changes the default namespace.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNAMESPACE_NAME\u003c/code\u003e must be replaced with the actual namespace you wish to use.\u003c/p\u003e\n"]]],[],null,["# Configuring your kubectl client\n===============================\n\n*** ** * ** ***\n\nBy default, Config Connector expects the resource's `namespace` to match\nthe Google Cloud project ID where it's created.\nTo simplify commands, set your default namespace by running the following command: \n\n```\nkubectl config set-context --current --namespace NAMESPACE_NAME\n```\nReplace \u003cvar translate=\"no\"\u003eNAMESPACE_NAME\u003c/var\u003e with your namespace name.\n\nWhat's next\n-----------\n\n- Learn how to change the default [project, folder, or organization](/config-connector/docs/how-to/organizing-resources/overview) for a namespace."]]