Jaa


az k8s-configuration flux deployed-object

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 flux deployed-object command. Learn more about extensions.

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

Commands

Name Description Type Status
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 deployed-object list

List deployed objects associated with a Flux v2 Kubernetes configuration.

az k8s-configuration flux deployed-object list --cluster-name
                                               --cluster-type {connectedClusters, managedClusters, provisionedClusters}
                                               --name
                                               --resource-group
                                               [--cluster-resource-provider]

Examples

List all deployed objects associated with a Flux v2 Kubernetes configuration

az k8s-configuration flux deployed-object list --resource-group my-resource-group \
--cluster-name mycluster --name myconfig --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
--name -n

Name of the flux configuration.

--resource-group -g

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

Optional Parameters

--cluster-resource-provider --cluster-rp

Cluster Resource Provider name for this clusterType (Required for provisionedClusters).

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 flux deployed-object show

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

az k8s-configuration flux deployed-object show --cluster-name
                                               --cluster-type {connectedClusters, managedClusters, provisionedClusters}
                                               --name
                                               --object-kind {Bucket, GitRepository, HelmChart, HelmRelease, HelmRepository, Kustomization}
                                               --object-name
                                               --object-namespace
                                               --resource-group
                                               [--cluster-resource-provider]

Examples

Show details of a deployed object associated with a Flux v2 Kubernetes configuration

az k8s-configuration flux deployed-object show --resource-group my-resource-group \
--cluster-name mycluster --cluster-type connectedClusters --name myconfig \
--object-name my-object --object-namespace my-namespace --object-kind GitRepository

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 flux configuration.

--object-kind

Kind of the object deployed by the configuration on the cluster.

Accepted values: Bucket, GitRepository, HelmChart, HelmRelease, HelmRepository, Kustomization
--object-name

Name of the object deployed by the configuration on the cluster.

--object-namespace

Namespace of the object deployed by the configuration on the cluster.

--resource-group -g

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

Optional Parameters

--cluster-resource-provider --cluster-rp

Cluster Resource Provider name for this clusterType (Required for provisionedClusters).

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.