Skip to content

Commit 3d86744

Browse files
committed
move migration info
1 parent 429d74d commit 3d86744

File tree

2 files changed

+5
-17
lines changed

2 files changed

+5
-17
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ GitOps is enabled in an Azure Arc-enabled Kubernetes or AKS cluster as a `Micros
3131

3232
The most recent version of the Flux v2 extension and the two previous versions (N-2) are supported. We generally recommend that you use the most recent version of the extension.
3333

34+
> [!NOTE]
35+
> Eventually Azure will stop supporting GitOps with Flux v1, so we recommend [migrating to Flux v2](#migrate-from-flux-v1) as soon as possible.
36+
3437
### Controllers
3538

3639
The `microsoft.flux` extension installs by default the [Flux controllers](https://fluxcd.io/docs/components/) (Source, Kustomize, Helm, Notification) and the FluxConfig CRD, fluxconfig-agent, and fluxconfig-controller. You can control which of these controllers is installed and can optionally install the Flux image-automation and image-reflector controllers, which provide functionality around updating and retrieving Docker images.

articles/azure-arc/kubernetes/tutorial-use-gitops-flux2.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Tutorial: Deploy applications using GitOps with Flux v2"
33
description: "This tutorial shows how to use GitOps with Flux v2 to manage configuration and application deployment in Azure Arc and AKS clusters."
4-
ms.date: 11/29/2022
4+
ms.date: 12/02/2022
55
ms.topic: tutorial
66
ms.custom: template-tutorial, devx-track-azurecli, references_regions, ignite-2022
77
---
@@ -11,7 +11,7 @@ ms.custom: template-tutorial, devx-track-azurecli, references_regions, ignite-20
1111
GitOps with Flux v2 can be enabled as a [cluster extension](conceptual-extensions.md) in Azure Arc-enabled Kubernetes clusters or Azure Kubernetes Service (AKS) clusters. After the `microsoft.flux` cluster extension is installed, you can create one or more `fluxConfigurations` resources that sync your Git repository sources to the cluster and reconcile the cluster to the desired state. With GitOps, you can use your Git repository as the source of truth for cluster configuration and application deployment.
1212

1313
> [!NOTE]
14-
> Eventually Azure will stop supporting GitOps with Flux v1, so begin using Flux v2 as soon as possible.
14+
> Eventually Azure will stop supporting GitOps with Flux v1, so we recommend [migrating to Flux v2](conceptual-gitops-flux2.md#migrate-from-flux-v1) as soon as possible.
1515
1616
This tutorial describes how to use GitOps in a Kubernetes cluster. Before you dive in, take a moment to [learn how GitOps with Flux works conceptually](./conceptual-gitops-flux2.md).
1717

@@ -427,21 +427,6 @@ az k8s-extension delete -g flux-demo-rg -c flux-demo-arc -n flux -t connectedClu
427427

428428
For an AKS cluster, use the same command but with `-t managedClusters`replacing `-t connectedClusters`.
429429

430-
## Migrate from Flux v1
431-
432-
If you've been using Flux v1 in Azure Arc-enabled Kubernetes or AKS clusters and want to migrate to using Flux v2 in the same clusters, you first need to delete the Flux v1 `sourceControlConfigurations` from the clusters. The `microsoft.flux` cluster extension won't install if there are Flux v1 `sourceControlConfigurations` resources in the cluster.
433-
434-
Use these Azure CLI commands to find and then delete existing `sourceControlConfigurations` in a cluster:
435-
436-
```azurecli
437-
az k8s-configuration list --cluster-name <Arc or AKS cluster name> --cluster-type <connectedClusters OR managedClusters> --resource-group <resource group name>
438-
az k8s-configuration delete --name <configuration name> --cluster-name <Arc or AKS cluster name> --cluster-type <connectedClusters OR managedClusters> --resource-group <resource group name>
439-
```
440-
441-
You can also use the Azure portal to view and delete existing GitOps configurations in Azure Arc-enabled Kubernetes or AKS clusters.
442-
443-
More information about migration from Flux v1 to Flux v2 is available in the fluxcd project: [Migrate from Flux v1 to v2](https://fluxcd.io/docs/migration/).
444-
445430
## Next steps
446431

447432
* Read more about [configurations and GitOps](conceptual-gitops-flux2.md).

0 commit comments

Comments
 (0)