Skip to content

Commit 1893c3a

Browse files
committed
link to kustomization CLI docs
1 parent e275a75 commit 1893c3a

File tree

1 file changed

+5
-73
lines changed

1 file changed

+5
-73
lines changed

articles/azure-arc/kubernetes/conceptual-gitops-flux2.md

Lines changed: 5 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ Because Azure Resource Manager manages your configurations, you can automate cre
115115

116116
To see all the parameters supported by Flux in Azure, see the [`az k8s-configuration` documentation](/cli/azure/k8s-configuration). This implementation doesn't currently support every parameter that Flux supports (see the [official Flux documentation](https://fluxcd.io/docs/)). Let us know if a parameter you need is missing from the Azure implementation.
117117

118-
You can also see the full list of parameters that `az k8s-configuration flux` command supports by using the `-h` parameter in Azure CLI (for example, `az k8s-configuration flux -h` or `az k8s-configuration flux create -h`). The following information describes some of the parameters and arguments available for the `az k8s-configuration flux create` command.
118+
You can also see the full list of parameters for the `az k8s-configuration flux` by using the `-h` parameter in Azure CLI (for example, `az k8s-configuration flux -h` or `az k8s-configuration flux create -h`).
119+
120+
The following information describes some of the parameters and arguments available for the `az k8s-configuration flux create` command.
119121

120122
### Configuration general arguments
121123

@@ -286,7 +288,7 @@ For on-premises repositories, Flux uses `libgit2`.
286288

287289
### Kustomization
288290

289-
By using `az k8s-configuration flux kustomization create`, you can create one or more kustomizations during the configuration.
291+
By using [`az k8s-configuration flux kustomization create`](/cli/azure/k8s-configuration/flux/kustomization#az-k8s-configuration-flux-kustomization-create), you can create one or more kustomizations during the configuration.
290292

291293
| Parameter | Format | Notes |
292294
| ------------- | ------------- | ------------- |
@@ -301,77 +303,7 @@ By using `az k8s-configuration flux kustomization create`, you can create one or
301303
| `validation` | String | Values: `none`, `client`, `server`. Default: `none`. See [Flux documentation](https://fluxcd.io/docs/) for details.|
302304
| `force` | Boolean | Default: `false`. Set `force=true` to instruct the kustomize controller to re-create resources when patching fails because of an immutable field change. |
303305

304-
You can also use `az k8s-configuration flux kustomization` to create, update, list, show, and delete kustomizations in a Flux configuration:
305-
306-
```console
307-
az k8s-configuration flux kustomization -h
308-
309-
Group
310-
az k8s-configuration flux kustomization : Commands to manage Kustomizations associated with Flux
311-
v2 Kubernetes configurations.
312-
313-
Commands:
314-
create : Create a Kustomization associated with a Flux v2 Kubernetes configuration.
315-
delete : Delete a Kustomization associated with a Flux v2 Kubernetes configuration.
316-
list : List Kustomizations associated with a Flux v2 Kubernetes configuration.
317-
show : Show a Kustomization associated with a Flux v2 Kubernetes configuration.
318-
update : Update a Kustomization associated with a Flux v2 Kubernetes configuration.
319-
```
320-
321-
Here are the kustomization creation options:
322-
323-
```azurecli
324-
az k8s-configuration flux kustomization create -h
325-
326-
This command is from the following extension: k8s-configuration
327-
328-
Command
329-
az k8s-configuration flux kustomization create : Create a Kustomization associated with a
330-
Kubernetes Flux v2 Configuration.
331-
332-
Arguments
333-
--cluster-name -c [Required] : Name of the Kubernetes cluster.
334-
--cluster-type -t [Required] : Specify Arc connected clusters or AKS managed clusters.
335-
Allowed values: connectedClusters, managedClusters.
336-
--kustomization-name -k [Required] : Specify the name of the kustomization to target.
337-
--name -n [Required] : Name of the flux configuration.
338-
--resource-group -g [Required] : Name of resource group. You can configure the default
339-
group using `az configure --defaults group=<name>`.
340-
--dependencies --depends --depends-on : Comma-separated list of kustomization dependencies.
341-
--force : Re-create resources that cannot be updated on the
342-
cluster (i.e. jobs). Allowed values: false, true.
343-
--interval --sync-interval : Time between reconciliations of the kustomization on the
344-
cluster.
345-
--no-wait : Do not wait for the long-running operation to finish.
346-
--path : Specify the path in the source that the kustomization
347-
should apply.
348-
--prune : Garbage collect resources deployed by the kustomization
349-
on the cluster. Allowed values: false, true.
350-
--retry-interval : Time between reconciliations of the kustomization on the
351-
cluster on failures, defaults to --sync-interval.
352-
--timeout : Maximum time to reconcile the kustomization before
353-
timing out.
354-
355-
Global Arguments
356-
--debug : Increase logging verbosity to show all debug logs.
357-
--help -h : Show this help message and exit.
358-
--only-show-errors : Only show errors, suppressing warnings.
359-
--output -o : Output format. Allowed values: json, jsonc, none,
360-
table, tsv, yaml, yamlc. Default: json.
361-
--query : JMESPath query string. See http://jmespath.org/ for more
362-
information and examples.
363-
--subscription : Name or ID of subscription. You can configure the
364-
default subscription using `az account set -s
365-
NAME_OR_ID`.
366-
--verbose : Increase logging verbosity. Use --debug for full debug
367-
logs.
368-
369-
Examples
370-
Create a Kustomization associated with a Kubernetes v2 Flux Configuration
371-
az k8s-configuration flux kustomization create --resource-group my-resource-group \
372-
--cluster-name mycluster --cluster-type connectedClusters --name myconfig \
373-
--kustomization-name my-kustomization-2 --path ./my/path --prune --force
374-
```
306+
You can also use [`az k8s-configuration flux kustomization`](/cli/azure/k8s-configuration/flux/kustomization) to update, list, show, and delete kustomizations in a Flux configuration.
375307

376308
## Multi-tenancy
377309

0 commit comments

Comments
 (0)