az k8sconfiguration
Note
This reference is part of the k8sconfiguration extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az k8sconfiguration command. Learn more about extensions.
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Commands to manage Kubernetes configuration.
Commands
Name | Description | Type | Status |
---|---|---|---|
az k8sconfiguration create |
Create a Kubernetes configuration. |
Extension | Preview |
az k8sconfiguration delete |
Delete a Kubernetes configuration. |
Extension | Preview |
az k8sconfiguration list |
List Kubernetes configurations. |
Extension | Preview |
az k8sconfiguration show |
Show details of a Kubernetes configuration. |
Extension | Preview |
az k8sconfiguration update |
Update a Kubernetes configuration. |
Extension | Preview |
az k8sconfiguration create
Command group 'k8sconfiguration' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create a Kubernetes configuration.
az k8sconfiguration create --cluster-name
--cluster-type {connectedClusters, managedClusters}
--name
--repository-url
--resource-group
--scope {cluster, namespace}
[--enable-helm-operator {false, true}]
[--helm-operator-params]
[--helm-operator-version]
[--operator-instance-name]
[--operator-namespace]
[--operator-params]
[--operator-type]
Examples
Create a Kubernetes configuration
az k8sconfiguration create --resource-group MyResourceGroup --cluster-name MyClusterName \
--cluster-type connectedClusters --name MyConfigurationName --operator-instance-name OperatorInst01 \
--operator-namespace OperatorNamespace01 --repository-url git://github.com/fluxHowTo/flux-get-started \
--operator-params "'--git-readonly'" --enable-helm-operator --helm-operator-version 0.6.0 \
--scope namespace --helm-operator-params '--set helm.versions=v3'
Required Parameters
Name of the Kubernetes cluster.
Specify Arc clusters or AKS managed clusters.
Name of the Kubernetes Configuration.
Url of the source control repository.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Specify scope of the operator to be 'namespace' or 'cluster'.
Optional Parameters
Enable support for Helm chart deployments.
Chart values for the Helm Operator (if enabled).
Chart version of the Helm Operator (if enabled).
Instance name of the Operator.
Namespace in which to install the Operator.
Parameters for the Operator.
Type of the operator. Valid value is 'flux'.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az k8sconfiguration delete
Command group 'k8sconfiguration' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete a Kubernetes configuration.
az k8sconfiguration delete --cluster-name
--cluster-type {connectedClusters, managedClusters}
--name
--resource-group
[--yes]
Examples
Delete a Kubernetes configuration
az k8sconfiguration delete --resource-group MyResourceGroup --cluster-name MyClusterName \
--cluster-type connectedClusters --name MyConfigurationName
Required Parameters
Name of the Kubernetes cluster.
Specify Arc clusters or AKS managed clusters.
Name of the Kubernetes Configuration.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Do not prompt for confirmation.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az k8sconfiguration list
Command group 'k8sconfiguration' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List Kubernetes configurations.
az k8sconfiguration list --cluster-name
--cluster-type {connectedClusters, managedClusters}
--resource-group
Examples
List all Kubernetes configurations of a cluster
az k8sconfiguration list --resource-group MyResourceGroup --cluster-name MyClusterName \
--cluster-type connectedClusters
Required Parameters
Name of the Kubernetes cluster.
Specify Arc clusters or AKS managed clusters.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az k8sconfiguration show
Command group 'k8sconfiguration' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show details of a Kubernetes configuration.
az k8sconfiguration show --cluster-name
--cluster-type {connectedClusters, managedClusters}
--name
--resource-group
Examples
Show a Kubernetes configuration
az k8sconfiguration show --resource-group MyResourceGroup --cluster-name MyClusterName \
--cluster-type connectedClusters --name MyConfigurationName
Required Parameters
Name of the Kubernetes cluster.
Specify Arc clusters or AKS managed clusters.
Name of the Kubernetes Configuration.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az k8sconfiguration update
Command group 'k8sconfiguration' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update a Kubernetes configuration.
az k8sconfiguration update --cluster-name
--cluster-type {connectedClusters, managedClusters}
--name
--resource-group
[--enable-helm-operator {false, true}]
[--helm-operator-params]
[--helm-operator-version]
[--operator-params]
[--repository-url]
Examples
Update an existing Kubernetes configuration
az k8sconfiguration update --resource-group MyResourceGroup --cluster-name MyClusterName \
--cluster-type connectedClusters --name MyConfigurationName --enable-helm-operator \
--repository-url git://github.com/fluxHowTo/flux-get-started --operator-params "'--git-readonly'" \
--helm-operator-version 0.6.0 --helm-operator-params '--set helm.versions=v3'
Required Parameters
Name of the Kubernetes cluster.
Specify Arc clusters or AKS managed clusters.
Name of the Kubernetes Configuration.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Enable support for Helm chart deployments.
Chart values for the Helm Operator (if enabled).
Chart version of the Helm Operator (if enabled).
Parameters for the Operator.
Url of the source control repository.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.