CmdID / az / az fleet / az fleet namespace
az fleet namespace get-credentials
Get kubeconfig for a fleet namespace, with the namespace context pre-configured. Azure CLI extensions reference
5 options Its page in the Azure CLI extensions reference
Options
--contextIf specified, overwrite the default context name.--fileKubernetes configuration file to update.--member, -mSpecify the fleet member name to get credentials from its associated managed cluster.--name, -nSpecify the managed namespace name.--overwrite-existingOverwrite any existing cluster entry with the same name.