az acs kubernetes

Commands to manage a Kubernetes-orchestrated Azure Container Service.

Commands

az acs kubernetes browse

Launch a proxy and browse the Kubernetes web UI.

az acs kubernetes get-credentials

Download and install credentials to access a cluster. This command requires the same private-key used to create the cluster.

az acs kubernetes install-cli

Download and install the Kubernetes command-line tool for a cluster.

az acs kubernetes browse

Launch a proxy and browse the Kubernetes web UI.

az acs kubernetes browse --name
                         --resource-group
                         [--disable-browser]
                         [--ssh-key-file]
                         [--subscription]

Required Parameters

--name -n

Name of the container service. You can configure the default using az configure --defaults acs=<name>.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--disable-browser

Do not open browser after opening a proxy to the cluster web user interface.

--ssh-key-file

Path to an SSH key file to use.

default value: ~\.ssh\id_rsa
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az acs kubernetes get-credentials

Download and install credentials to access a cluster. This command requires the same private-key used to create the cluster.

az acs kubernetes get-credentials --name
                                  --resource-group
                                  [--file]
                                  [--overwrite-existing]
                                  [--ssh-key-file]
                                  [--subscription]

Examples

Download and install credentials to access a cluster. This command requires the same private-key used to create the cluster. (autogenerated)

az acs kubernetes get-credentials --name MyContainerService --resource-group MyResourceGroup

Required Parameters

--name -n

Name of the container service. You can configure the default using az configure --defaults acs=<name>.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--file -f

Where to install the kubectl config file.

default value: ~/.kube/config
--overwrite-existing

If specified, overwrite any existing credentials.

--ssh-key-file

Path to an SSH key file to use.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az acs kubernetes install-cli

Download and install the Kubernetes command-line tool for a cluster.

az acs kubernetes install-cli [--client-version]
                              [--install-location]
                              [--kubelogin-install-location]
                              [--kubelogin-version]
                              [--subscription]

Optional Parameters

--client-version

Version of kubectl to install.

default value: latest
--install-location

Path at which to install kubectl.

default value: ~/.azure-kubectl/kubectl.exe
--kubelogin-install-location

Path at which to install kubelogin.

default value: ~/.azure-kubelogin/kubelogin.exe
--kubelogin-version

Version of kubelogin to install.

default value: latest
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.