Configuring your kubectl client


By default, Config Connector expects the resource's namespace to match the Google Cloud project ID where it's created.

You can simplify commands and avoid adding --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_NAME
Replace NAMESPACE_NAME with your namespace name.

What's next