Skip to content

Commit c3983f9

Browse files
authored
Merge pull request #188686 from csand-msft/main
Add faq for troubleshooting flux extension install error and adjust GitOps info
2 parents 844e09f + f5048aa commit c3983f9

File tree

1 file changed

+41
-10
lines changed
  • articles/azure-arc/kubernetes

1 file changed

+41
-10
lines changed

articles/azure-arc/kubernetes/faq.md

Lines changed: 41 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
2-
title: "Azure Arc-enabled Kubernetes frequently asked questions"
2+
title: "Azure Arc-enabled Kubernetes and GitOps frequently asked questions"
33
services: azure-arc
44
ms.service: azure-arc
5-
ms.date: 02/19/2021
5+
ms.date: 02/15/2022
66
ms.topic: conceptual
7-
author: shashankbarsin
8-
ms.author: shasb
9-
description: "This article contains a list of frequently asked questions related to Azure Arc-enabled Kubernetes"
10-
keywords: "Kubernetes, Arc, Azure, containers, configuration, GitOps, faq"
7+
author: csand-msft
8+
ms.author: csand
9+
description: "This article contains a list of frequently asked questions related to Azure Arc-enabled Kubernetes and Azure GitOps"
10+
keywords: "Kubernetes, Arc, Azure, containers, configuration, GitOps, Flux, faq"
1111
---
1212

1313
# Frequently Asked Questions - Azure Arc-enabled Kubernetes
@@ -61,9 +61,9 @@ If the value of `managedIdentityCertificateExpirationTime` indicates a timestamp
6161
> [!NOTE]
6262
> `az connectedk8s delete` will also delete configurations and cluster extensions on top of the cluster. After running `az connectedk8s connect`, recreate the configurations and cluster extensions on the cluster, either manually or using Azure Policy.
6363

64-
## If I am already using CI/CD pipelines, can I still use Azure Arc-enabled Kubernetes and configurations?
64+
## If I am already using CI/CD pipelines, can I still use Azure Arc-enabled Kubernetes or AKS and GitOps configurations?
6565

66-
Yes, you can still use configurations on a cluster receiving deployments via a CI/CD pipeline. Compared to traditional CI/CD pipelines, configurations feature two extra benefits:
66+
Yes, you can still use configurations on a cluster receiving deployments via a CI/CD pipeline. Compared to traditional CI/CD pipelines, GitOps configurations feature some extra benefits:
6767

6868
**Drift reconciliation**
6969

@@ -73,16 +73,47 @@ The CI/CD pipeline applies changes only once during pipeline run. However, the G
7373

7474
CI/CD pipelines are useful for event-driven deployments to your Kubernetes cluster (for example, a push to a Git repository). However, if you want to deploy the same configuration to all of your Kubernetes clusters, you would need to manually configure each Kubernetes cluster's credentials to the CI/CD pipeline.
7575

76-
For Azure Arc-enabled Kubernetes, since Azure Resource Manager manages your configurations, you can automate creating the same configuration across all Azure Arc-enabled Kubernetes resources using Azure Policy, within scope of a subscription or a resource group. This capability is even applicable to Azure Arc-enabled Kubernetes resources created after the policy assignment.
76+
For Azure Arc-enabled Kubernetes, since Azure Resource Manager manages your GitOps configurations, you can automate creating the same configuration across all Azure Arc-enabled Kubernetes and AKS resources using Azure Policy, within scope of a subscription or a resource group. This capability is even applicable to Azure Arc-enabled Kubernetes and AKS resources created after the policy assignment.
7777

7878
This feature applies baseline configurations (like network policies, role bindings, and pod security policies) across the entire Kubernetes cluster inventory to meet compliance and governance requirements.
7979

80+
**Cluster compliance**
81+
82+
The compliance state of each GitOps configuration is reported back to Azure. This lets you keep track of any failed deployments.
83+
84+
## Error installing the microsoft.flux extension (Flux v2)
85+
86+
The `microsoft.flux` extension installs the Flux controllers and Azure GitOps agents into your Azure Arc-enabled Kubernetes or AKS clusters. If you experience an error during installation below are some troubleshooting actions.
87+
88+
* Error message
89+
90+
```console
91+
{'code':'DeploymentFailed','message':'At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.','details':[{'code':'ExtensionCreationFailed','message':' Request failed to https://management.azure.com/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/<RESOURCE_GROUP>/providers/Microsoft.ContainerService/managedclusters/<CLUSTER_NAME>/extensionaddons/flux?api-version=2021-03-01. Error code: BadRequest. Reason: Bad Request'}]}
92+
```
93+
94+
* For AKS cluster, assure that the subscription has the following feature flag enabled: `Microsoft.ContainerService/AKS-ExtensionManager`.
95+
96+
```console
97+
az feature register --namespace Microsoft.ContainerService --name AKS-ExtensionManager
98+
```
99+
100+
* Force delete the extension.
101+
102+
```console
103+
az k8s-extension delete --force -g <RESOURCE_GROUP> -c <CLUSTER_NAME> -n flux -t <managedClusters OR connectedClusters>
104+
```
105+
106+
* Assure that the cluster does not have any policies that restrict creation of the `flux-system` namespace or resources in that namespace.
107+
108+
After you have verified the above, you can re-install the extension.
109+
80110
## Does Azure Arc-enabled Kubernetes store any customer data outside of the cluster's region?
81111

82112
The feature to enable storing customer data in a single region is currently only available in the Southeast Asia Region (Singapore) of the Asia Pacific Geo and Brazil South (Sao Paulo State) Region of Brazil Geo. For all other regions, customer data is stored in Geo. For more information, see [Trust Center](https://azure.microsoft.com/global-infrastructure/data-residency/).
83113

84114
## Next steps
85115

86116
* Walk through our quickstart to [connect a Kubernetes cluster to Azure Arc](./quickstart-connect-cluster.md).
87-
* Already have a Kubernetes cluster connected Azure Arc? [Create configurations on your Azure Arc-enabled Kubernetes cluster](./tutorial-use-gitops-connected-cluster.md).
117+
* Already have an AKS cluster or an Azure Arc-enabled Kubernetes cluster? [Create GitOps configurations on your Azure Arc-enabled Kubernetes cluster](./tutorial-use-gitops-flux2.md).
118+
* Learn how to [setup a CI/CD pipeline with GitOps](./tutorial-gitops-flux2-ci-cd.md).
88119
* Learn how to [use Azure Policy to apply configurations at scale](./use-azure-policy.md).

0 commit comments

Comments
 (0)