az connectedk8s
Commands to manage connected kubernetes clusters.
Commands
az connectedk8s connect |
Onboard a connected kubernetes cluster to azure. |
az connectedk8s delete |
Delete a connected kubernetes cluster along with connected cluster agents. |
az connectedk8s list |
List connected kubernetes clusters. |
az connectedk8s show |
Show details of a connected kubernetes cluster. |
az connectedk8s update |
Update properties of the onboarded agents. |
az connectedk8s connect
Onboard a connected kubernetes cluster to azure.
az connectedk8s connect --name
--resource-group
[--kube-config]
[--kube-context]
[--location]
[--no-wait]
[--proxy-http]
[--proxy-https]
[--proxy-skip-range]
[--tags]
Examples
Onboard a connected kubernetes cluster with default kube config and kube context.
az connectedk8s connect -g resourceGroupName -n connectedClusterName
Onboard a connected kubernetes cluster by specifying the kubeconfig and kubecontext.
az connectedk8s connect -g resourceGroupName -n connectedClusterName --kube-config /path/to/kubeconfig --kube-context kubeContextName
Onboard a connected kubernetes cluster by specifying the https proxy, http proxy, no proxy settings.
az connectedk8s connect -g resourceGroupName -n connectedClusterName --proxy-https https://proxy-url --proxy-http http://proxy-url --proxy-skip-range excludedIP,excludedCIDR,exampleCIDRfollowed,10.0.0.0/24
Required Parameters
The name of the connected cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Path to the kube config file.
Kubconfig context from current machine.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Do not wait for the long-running operation to finish.
Http proxy URL to be used.
Https proxy URL to be used.
List of URLs/CIDRs for which proxy should not to be used.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az connectedk8s delete
Delete a connected kubernetes cluster along with connected cluster agents.
az connectedk8s delete --name
--resource-group
[--kube-config]
[--kube-context]
[--no-wait]
[--yes]
Examples
Delete a connected kubernetes cluster and connected cluster agents with default kubeconfig and kubecontext.
az connectedk8s delete -g resourceGroupName -n connectedClusterName
Delete a connected kubernetes cluster by specifying the kubeconfig and kubecontext for connected cluster agents deletion.
az connectedk8s delete -g resourceGroupName -n connectedClusterName --kube-config /path/to/kubeconfig --kube-context kubeContextName
Required Parameters
The name of the connected cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Path to the kube config file.
Kubconfig context from current machine.
Do not wait for the long-running operation to finish.
Do not prompt for confirmation.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az connectedk8s list
List connected kubernetes clusters.
az connectedk8s list [--resource-group]
Examples
List all connected kubernetes clusters in a resource group.
az connectedk8s list -g resourceGroupName --subscription subscriptionName
List all connected kubernetes clusters in a subscription.
az connectedk8s list --subscription subscriptionName
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az connectedk8s show
Show details of a connected kubernetes cluster.
az connectedk8s show --name
--resource-group
Examples
Show the details for a connected kubernetes cluster
az connectedk8s show -g resourceGroupName -n connectedClusterName
Required Parameters
The name of the connected cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az connectedk8s update
Update properties of the onboarded agents.
az connectedk8s update --name
--resource-group
[--kube-config]
[--kube-context]
[--proxy-http]
[--proxy-https]
[--proxy-skip-range]
Examples
Update proxy values for the agents
az connectedk8s update -g resourceGroupName -n connectedClusterName --proxy-https https://proxy-url --proxy-http http://proxy-url --proxy-skip-range excludedIP,excludedCIDR,exampleCIDRfollowed,10.0.0.0/24
Required Parameters
The name of the connected cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Path to the kube config file.
Kubconfig context from current machine.
Http proxy URL to be used.
Https proxy URL to be used.
List of URLs/CIDRs for which proxy should not to be used.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.