Skip to content

Commit d10da64

Browse files
Merge pull request #259975 from JnHs/jh-arck8-fluxdeletion
deletion note
2 parents cb90dc7 + e4a4da9 commit d10da64

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

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

Lines changed: 9 additions & 4 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: 10/18/2023
4+
ms.date: 12/01/2023
55
ms.topic: tutorial
66
ms.custom: template-tutorial, devx-track-azurecli, references_regions, ignite-2022
77
---
@@ -608,14 +608,13 @@ Starting with [`microsoft.flux` v1.8.0](extensions-release.md#flux-gitops), you
608608

609609
1. Be sure to provide proper permissions for workload identity for the resource that you want source-controller or image-reflector controller to pull. For example, if using Azure Container Registry, `AcrPull` permissions are required.
610610

611-
612611
## Delete the Flux configuration and extension
613612

614-
Use the following commands to delete your Flux configuration and, if desired, the Flux extension itself.
613+
Use the following commands to delete your Flux configurations and, if desired, the Flux extension itself.
615614

616615
### [Azure CLI](#tab/azure-cli)
617616

618-
#### Delete the Flux configuration
617+
#### Delete the Flux configurations
619618

620619
The following command deletes both the `fluxConfigurations` resource in Azure and the Flux configuration objects in the cluster. Because the Flux configuration was originally created with the `prune=true` parameter for the kustomization, all of the objects created in the cluster based on manifests in the Git repository will be removed when the Flux configuration is removed. However, this command doesn't remove the Flux extension itself.
621620

@@ -627,6 +626,9 @@ az k8s-configuration flux delete -g flux-demo-rg -c flux-demo-arc -n cluster-con
627626

628627
When you delete the Flux extension, both the `microsoft.flux` extension resource in Azure and the Flux extension objects in the cluster will be removed.
629628

629+
> [!IMPORTANT]
630+
> Be sure to delete all Flux configurations in the cluster before you delete the Flux extension. Deleting the extension without first deleting the Flux configurations may leave your cluster in an unstable condition.
631+
630632
If the Flux extension was created automatically when the Flux configuration was first created, the extension name will be `flux`.
631633

632634
```azurecli
@@ -648,6 +650,9 @@ When you delete a Flux configuration, all of the Flux configuration objects in t
648650

649651
When you delete the Flux extension, both the `microsoft.flux` extension resource in Azure and the Flux extension objects in the cluster will be removed.
650652

653+
> [!IMPORTANT]
654+
> Be sure to delete all Flux configurations in the cluster before you delete the Flux extension. Deleting the extension without first deleting the Flux configurations may leave your cluster in an unstable condition.
655+
651656
For an Azure Arc-enabled Kubernetes cluster, navigate to the cluster and select **Extensions**. Select the `flux` extension and select **Uninstall**, then confirm the deletion.
652657

653658
For AKS clusters, you can't use the Azure portal to delete the extension. Instead, use the following Azure CLI command:

0 commit comments

Comments
 (0)