Configuring your kubectl client
By default, Config Connector expects the resource's namespace
to match
the Google Cloud project ID where it's created.
--namespace
to each kubectl
command by changing the default context's namespace. To do so, run the following command:
kubectl config set-context --current --namespace NAMESPACE_NAMEReplace
NAMESPACE_NAME
with your namespace name.
What's next
- Learn how to change the default project, folder, or organization for a namespace.