az k8s-configuration

Note

This reference is part of the k8s-configuration extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az k8s-configuration command. Learn more about extensions.

Commands to manage resources from Microsoft.KubernetesConfiguration.

Commands

Name Description Type Status
az k8s-configuration delete

Delete a Flux v1 Kubernetes configuration (This command is for Flux v1, to use the newer Flux v2, run "az k8s-configuration flux delete").

Extension Deprecated
az k8s-configuration flux

Commands to manage Flux v2 Kubernetes configurations.

Extension GA
az k8s-configuration flux create

Create a Flux v2 Kubernetes configuration.

Extension GA
az k8s-configuration flux delete

Delete a Flux v2 Kubernetes configuration.

Extension GA
az k8s-configuration flux deployed-object

Commands to see deployed objects associated with Flux v2 Kubernetes configurations.

Extension GA
az k8s-configuration flux deployed-object list

List deployed objects associated with a Flux v2 Kubernetes configuration.

Extension GA
az k8s-configuration flux deployed-object show

Show a deployed object associated with a Flux v2 Kubernetes configuration.

Extension GA
az k8s-configuration flux kustomization

Commands to manage Kustomizations associated with Flux v2 Kubernetes configurations.

Extension GA
az k8s-configuration flux kustomization create

Create a Kustomization associated with a Flux v2 Kubernetes configuration.

Extension GA
az k8s-configuration flux kustomization delete

Delete a Kustomization associated with a Flux v2 Kubernetes configuration.

Extension GA
az k8s-configuration flux kustomization list

List Kustomizations associated with a Flux v2 Kubernetes configuration.

Extension GA
az k8s-configuration flux kustomization show

Show a Kustomization associated with a Flux v2 Kubernetes configuration.

Extension GA
az k8s-configuration flux kustomization update

Update a Kustomization associated with a Flux v2 Kubernetes configuration.

Extension GA
az k8s-configuration flux list

List all Flux v2 Kubernetes configurations.

Extension GA
az k8s-configuration flux show

Show a Flux v2 Kubernetes configuration.

Extension GA
az k8s-configuration flux update

Update a Flux v2 Kubernetes configuration.

Extension GA
az k8s-configuration list

List Flux v1 Kubernetes configurations (This command is for Flux v1, to use the newer Flux v2, run "az k8s-configuration flux list").

Extension Deprecated
az k8s-configuration show

Show details of a Flux v1 Kubernetes configuration (This command is for Flux v1, to use the newer Flux v2, run "az k8s-configuration flux show").

Extension Deprecated

az k8s-configuration delete

Deprecated

This command has been deprecated and will be removed in a future release. Use 'k8s-configuration flux delete' instead.

Delete a Flux v1 Kubernetes configuration (This command is for Flux v1, to use the newer Flux v2, run "az k8s-configuration flux delete").

az k8s-configuration delete --cluster-name
                            --cluster-type {connectedClusters, managedClusters, provisionedClusters}
                            --name
                            --resource-group
                            [--yes]

Examples

Delete a Flux v1 Kubernetes configuration

az k8s-configuration delete --resource-group MyResourceGroup --cluster-name MyClusterName \
--cluster-type connectedClusters --name MyConfigurationName

Required Parameters

--cluster-name -c

Name of the Kubernetes cluster.

--cluster-type -t

Specify Arc connected clusters or AKS managed clusters or provisioned clusters.

Accepted values: connectedClusters, managedClusters, provisionedClusters
--name -n

Name of the configuration.

--resource-group -g

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

Optional Parameters

--yes -y

Do not prompt for confirmation.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az k8s-configuration list

Deprecated

This command has been deprecated and will be removed in a future release. Use 'k8s-configuration flux list' instead.

List Flux v1 Kubernetes configurations (This command is for Flux v1, to use the newer Flux v2, run "az k8s-configuration flux list").

az k8s-configuration list --cluster-name
                          --cluster-type {connectedClusters, managedClusters, provisionedClusters}
                          --resource-group

Examples

List Flux v1 Kubernetes configuration

az k8s-configuration list --resource-group MyResourceGroup --cluster-name MyClusterName \
--cluster-type connectedClusters

Required Parameters

--cluster-name -c

Name of the Kubernetes cluster.

--cluster-type -t

Specify Arc connected clusters or AKS managed clusters or provisioned clusters.

Accepted values: connectedClusters, managedClusters, provisionedClusters
--resource-group -g

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az k8s-configuration show

Deprecated

This command has been deprecated and will be removed in a future release. Use 'k8s-configuration flux show' instead.

Show details of a Flux v1 Kubernetes configuration (This command is for Flux v1, to use the newer Flux v2, run "az k8s-configuration flux show").

az k8s-configuration show --cluster-name
                          --cluster-type {connectedClusters, managedClusters, provisionedClusters}
                          --name
                          --resource-group

Examples

Show details of a Flux v1 Kubernetes configuration

az k8s-configuration show --resource-group MyResourceGroup --cluster-name MyClusterName \
--cluster-type connectedClusters --name MyConfigurationName

Required Parameters

--cluster-name -c

Name of the Kubernetes cluster.

--cluster-type -t

Specify Arc connected clusters or AKS managed clusters or provisioned clusters.

Accepted values: connectedClusters, managedClusters, provisionedClusters
--name -n

Name of the configuration.

--resource-group -g

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.