You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-arc/kubernetes/conceptual-gitops-flux2.md
+7-209Lines changed: 7 additions & 209 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,151 +113,19 @@ Because Azure Resource Manager manages your configurations, you can automate cre
113
113
114
114
## Parameters
115
115
116
-
For a description of all parameters that Flux supports, see the [official Flux documentation](https://fluxcd.io/docs/). Flux in Azure doesn't support all parameters yet. Let us know if a parameter you need is missing from the Azure implementation.
116
+
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.
117
117
118
-
You can see the full list of parameters that the `k8s-configuration flux` Azure CLI command supports by using the `-h` parameter:
119
-
az k8
120
-
```azurecli
121
-
az k8s-configuration flux -h
122
-
123
-
Group
124
-
az k8s-configuration flux : Commands to manage Flux v2 Kubernetes configurations.
125
-
126
-
Subgroups:
127
-
deployed-object : Commands to see deployed objects associated with Flux v2 Kubernetes
128
-
configurations.
129
-
kustomization : Commands to manage Kustomizations associated with Flux v2 Kubernetes
130
-
configurations.
131
-
132
-
Commands:
133
-
create : Create a Flux v2 Kubernetes configuration.
134
-
delete : Delete a Flux v2 Kubernetes configuration.
135
-
list : List all Flux v2 Kubernetes configurations.
136
-
show : Show a Flux v2 Kubernetes configuration.
137
-
update : Update a Flux v2 Kubernetes configuration.
138
-
```
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`).
139
119
140
-
Here are the parameters for the `k8s-configuration flux create` CLI command:
141
-
142
-
```azurecli
143
-
az k8s-configuration flux create -h
144
-
145
-
This command is from the following extension: k8s-configuration
146
-
147
-
Command
148
-
az k8s-configuration flux create : Create a Flux v2 Kubernetes configuration.
149
-
150
-
Arguments
151
-
--cluster-name -c [Required] : Name of the Kubernetes cluster.
152
-
--cluster-type -t [Required] : Specify Arc connected clusters or AKS managed clusters.
--query : JMESPath query string. See http://jmespath.org/ for more
213
-
information and examples.
214
-
--subscription : Name or ID of subscription. You can configure the default
215
-
subscription using `az account set -s NAME_OR_ID`.
216
-
--verbose : Increase logging verbosity. Use --debug for full debug logs.
217
-
218
-
Azure Blob Storage Account Auth Arguments
219
-
--sp_client_id : The client ID for authenticating a service principal with Azure Blob, required for this authentication method
220
-
--sp_tenant_id : The tenant ID for authenticating a service principal with Azure Blob, required for this authentication method
221
-
--sp_client_secret : The client secret for authenticating a service principal with Azure Blob
222
-
--sp_client_cert : The Base64 encoded client certificate for authenticating a service principal with Azure Blob
223
-
--sp_client_cert_password : The password for the client certificate used to authenticate a service principal with Azure Blob
224
-
--sp_client_cert_send_chain : Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the client certificate
225
-
--account_key : The Azure Blob Shared Key for authentication
226
-
--sas_token : The Azure Blob SAS Token for authentication
227
-
--mi_client_id : The client ID of the managed identity for authentication with Azure Blob
228
-
229
-
Examples
230
-
Create a Flux v2 Kubernetes configuration
231
-
az k8s-configuration flux create --resource-group my-resource-group \
The following information describes some of the parameters and arguments available for the `az k8s-configuration flux create` command.
253
121
254
122
### Configuration general arguments
255
123
256
124
| Parameter | Format | Notes |
257
125
| ------------- | ------------- | ------------- |
258
126
|`--cluster-name``-c`| String | Name of the cluster resource in Azure. |
259
-
|`--cluster-type``-t`|`connectedClusters`, `managedClusters`| Use `connectedClusters` for Azure Arc-enabled Kubernetes clusters and `managedClusters` for AKS clusters. |
260
-
|`--resource-group``-g`| String | Name of the Azure resource group that holds the Azure Arc or AKS cluster resource. |
127
+
|`--cluster-type``-t`|Allowed values: `connectedClusters`, `managedClusters`, `provisionedClusters`| Use `connectedClusters` for Azure Arc-enabled Kubernetes clusters, `managedClusters` for AKS clusters, or `provisionedClusters` for [AKS hybrid clusters provisioned from Azure](extensions.md#aks-hybrid-clusters-provisioned-from-azure-preview) (installing extensions on these clusters is currently in preview). |
128
+
|`--resource-group``-g`| String | Name of the Azure resource group that holds the cluster resource. |
261
129
|`--name``-n`| String | Name of the Flux configuration in Azure. |
262
130
|`--namespace``--ns`| String | Name of the namespace to deploy the configuration. Default: `default`. |
263
131
| `--scope``-s` | String | Permission scope for the operators. Possible values are `cluster` (full access) or `namespace` (restricted access). Default: `cluster`.
@@ -420,7 +288,7 @@ For on-premises repositories, Flux uses `libgit2`.
420
288
421
289
### Kustomization
422
290
423
-
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.
424
292
425
293
| Parameter | Format | Notes |
426
294
| ------------- | ------------- | ------------- |
@@ -435,77 +303,7 @@ By using `az k8s-configuration flux kustomization create`, you can create one or
435
303
|`validation`| String | Values: `none`, `client`, `server`. Default: `none`. See [Flux documentation](https://fluxcd.io/docs/) for details.|
436
304
|`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. |
437
305
438
-
You can also use `az k8s-configuration flux kustomization` to create, update, list, show, and delete kustomizations in a Flux configuration:
439
-
440
-
```console
441
-
az k8s-configuration flux kustomization -h
442
-
443
-
Group
444
-
az k8s-configuration flux kustomization : Commands to manage Kustomizations associated with Flux
445
-
v2 Kubernetes configurations.
446
-
447
-
Commands:
448
-
create : Create a Kustomization associated with a Flux v2 Kubernetes configuration.
449
-
delete : Delete a Kustomization associated with a Flux v2 Kubernetes configuration.
450
-
list : List Kustomizations associated with a Flux v2 Kubernetes configuration.
451
-
show : Show a Kustomization associated with a Flux v2 Kubernetes configuration.
452
-
update : Update a Kustomization associated with a Flux v2 Kubernetes configuration.
453
-
```
454
-
455
-
Here are the kustomization creation options:
456
-
457
-
```azurecli
458
-
az k8s-configuration flux kustomization create -h
459
-
460
-
This command is from the following extension: k8s-configuration
461
-
462
-
Command
463
-
az k8s-configuration flux kustomization create : Create a Kustomization associated with a
464
-
Kubernetes Flux v2 Configuration.
465
-
466
-
Arguments
467
-
--cluster-name -c [Required] : Name of the Kubernetes cluster.
468
-
--cluster-type -t [Required] : Specify Arc connected clusters or AKS managed clusters.
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.
0 commit comments