[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間: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."]]