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
@@ -28,7 +28,13 @@ GitOps on Azure Arc-enabled Kubernetes or Azure Kubernetes Service uses [Flux](h
28
28
29
29
:::image type="content" source="media/gitops/flux2-extension-install-aks.png" alt-text="Diagram showing the installation of the Flux extension for Azure Kubernetes Service cluster." lightbox="media/gitops/flux2-extension-install-aks.png":::
30
30
31
-
GitOps is enabled in an Azure Arc-enabled Kubernetes or AKS cluster as a `Microsoft.KubernetesConfiguration/extensions/microsoft.flux`[cluster extension](./conceptual-extensions.md) resource. The `microsoft.flux` extension must be installed in the cluster before one or more `fluxConfigurations` can be created. The extension will be installed automatically when you create the first `Microsoft.KubernetesConfiguration/fluxConfigurations` in a cluster, or you can install it manually using the portal, the Azure CLI (*az k8s-extension create --extensionType=microsoft.flux*), ARM template, or REST API.
31
+
GitOps is enabled in an Azure Arc-enabled Kubernetes or AKS cluster as a `Microsoft.KubernetesConfiguration/extensions/microsoft.flux`[cluster extension](./conceptual-extensions.md) resource. The `microsoft.flux` extension must be installed in the cluster before one or more `fluxConfigurations` can be created. The extension will be installed automatically when you create the first `Microsoft.KubernetesConfiguration/fluxConfigurations` in a cluster, or you can install it manually using the portal, the Azure CLI (*az k8s-extension create --extensionType=microsoft.flux*), ARM template, or REST API.
32
+
33
+
### Version support
34
+
35
+
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.
36
+
37
+
### Controllers
32
38
33
39
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.
34
40
@@ -37,19 +43,21 @@ The `microsoft.flux` extension installs by default the [Flux controllers](https:
37
43
*[Flux Helm controller](https://toolkit.fluxcd.io/components/helm/controller/): Watches the `helm.toolkit.fluxcd.io` custom resources. Retrieves the associated chart from the Helm Repository source surfaced by the Source controller. Creates the `HelmChart` custom resource and applies the `HelmRelease` with given version, name, and customer-defined values to the cluster.
38
44
*[Flux Notification controller](https://toolkit.fluxcd.io/components/notification/controller/): Watches the `notification.toolkit.fluxcd.io` custom resources. Receives notifications from all Flux controllers. Pushes notifications to user-defined webhook endpoints.
39
45
* Flux Custom Resource Definitions:
40
-
*`kustomizations.kustomize.toolkit.fluxcd.io`
41
-
*`imagepolicies.image.toolkit.fluxcd.io`
42
-
*`imagerepositories.image.toolkit.fluxcd.io`
43
-
*`imageupdateautomations.image.toolkit.fluxcd.io`
44
-
*`alerts.notification.toolkit.fluxcd.io`
45
-
*`providers.notification.toolkit.fluxcd.io`
46
-
*`receivers.notification.toolkit.fluxcd.io`
47
-
*`buckets.source.toolkit.fluxcd.io`
48
-
*`gitrepositories.source.toolkit.fluxcd.io`
49
-
*`helmcharts.source.toolkit.fluxcd.io`
50
-
*`helmrepositories.source.toolkit.fluxcd.io`
51
-
*`helmreleases.helm.toolkit.fluxcd.io`
52
-
*`fluxconfigs.clusterconfig.azure.com`
46
+
47
+
*`kustomizations.kustomize.toolkit.fluxcd.io`
48
+
*`imagepolicies.image.toolkit.fluxcd.io`
49
+
*`imagerepositories.image.toolkit.fluxcd.io`
50
+
*`imageupdateautomations.image.toolkit.fluxcd.io`
51
+
*`alerts.notification.toolkit.fluxcd.io`
52
+
*`providers.notification.toolkit.fluxcd.io`
53
+
*`receivers.notification.toolkit.fluxcd.io`
54
+
*`buckets.source.toolkit.fluxcd.io`
55
+
*`gitrepositories.source.toolkit.fluxcd.io`
56
+
*`helmcharts.source.toolkit.fluxcd.io`
57
+
*`helmrepositories.source.toolkit.fluxcd.io`
58
+
*`helmreleases.helm.toolkit.fluxcd.io`
59
+
*`fluxconfigs.clusterconfig.azure.com`
60
+
53
61
*[FluxConfig CRD](https://github.com/Azure/ClusterConfigurationAgent/blob/master/charts/azure-k8s-flux/templates/clusterconfig.azure.com_fluxconfigs.yaml): Custom Resource Definition for `fluxconfigs.clusterconfig.azure.com` custom resources that define `FluxConfig` Kubernetes objects.
54
62
* fluxconfig-agent: Responsible for watching Azure for new or updated `fluxConfigurations` resources, and for starting the associated Flux configuration in the cluster. Also, is responsible for pushing Flux status changes in the cluster back to Azure for each `fluxConfigurations` resource.
55
63
* fluxconfig-controller: Watches the `fluxconfigs.clusterconfig.azure.com` custom resources and responds to changes with new or updated configuration of GitOps machinery in the cluster.
@@ -82,16 +90,16 @@ The `fluxconfig-agent` and `fluxconfig-controller` agents, installed with the `m
82
90
Each `fluxConfigurations` resource in Azure will be associated in a Kubernetes cluster with one Flux `GitRepository` or `Bucket` custom resource and one or more `Kustomization` custom resources. When you create a `fluxConfigurations` resource, you'll specify, among other information, the URL to the source (Git repository or Bucket) and the sync target in the source for each `Kustomization`. You can configure dependencies between `Kustomization` custom resources to control deployment sequencing. Also, you can create multiple namespace-scoped `fluxConfigurations` resources on the same cluster for different applications and app teams.
83
91
84
92
> [!NOTE]
85
-
> *`fluxconfig-agent` monitors for new or updated `fluxConfiguration` resources in Azure. The agent requires connectivity to Azure for the desired state of the `fluxConfiguration` to be applied to the cluster. If the agent is unable to connect to Azure, there will be a delay in making the changes in the cluster until the agent can connect. If the cluster is disconnected from Azure for more than 48 hours, then the request to the cluster will time-out, and the changes will need to be re-applied in Azure.
86
-
> * Sensitive customer inputs like private key and token/password are stored for less than 48 hours in the Kubernetes Configuration service. If you update any of these values in Azure, assure that your clusters connect with Azure within 48 hours.
93
+
> The `fluxconfig-agent` monitors for new or updated `fluxConfiguration` resources in Azure. The agent requires connectivity to Azure for the desired state of the `fluxConfiguration` to be applied to the cluster. If the agent is unable to connect to Azure, there will be a delay in making the changes in the cluster until the agent can connect. If the cluster is disconnected from Azure for more than 48 hours, then the request to the cluster will time-out, and the changes will need to be re-applied in Azure.
94
+
>
95
+
> Sensitive customer inputs like private key and token/password are stored for less than 48 hours in the Kubernetes Configuration service. If you update any of these values in Azure, make sure that your clusters connect with Azure within 48 hours.
87
96
88
97
## GitOps with Private Link
89
98
90
-
If you've added support for private link to an Azure Arc-enabled Kubernetes cluster, then the `microsoft.flux` extension works out-of-the-box with communication back to Azure. For connections to your Git repository, Helm repository, or any other endpoints that are needed to deploy your Kubernetes manifests, you will need to provision these endpoints behind your firewall or list them on your firewall so that the Flux Source controller can successfully reach them.
91
-
92
-
For more information on private link scopes in Azure Arc, refer to [this document](../servers/private-link-security.md#create-a-private-link-scope).
99
+
If you've added support for [private link to an Azure Arc-enabled Kubernetes cluster](private-link.md), then the `microsoft.flux` extension works out-of-the-box with communication back to Azure. For connections to your Git repository, Helm repository, or any other endpoints that are needed to deploy your Kubernetes manifests, you will need to provision these endpoints behind your firewall or list them on your firewall so that the Flux Source controller can successfully reach them.
93
100
94
101
## Data residency
102
+
95
103
The Azure GitOps service (Azure Kubernetes Configuration Management) stores/processes customer data. By default, customer data is replicated to the paired region. For the regions Singapore, East Asia, and Brazil South, all customer data is stored and processed in the region.
96
104
97
105
## Apply Flux configurations at scale
@@ -102,6 +110,7 @@ Because Azure Resource Manager manages your configurations, you can automate cre
102
110
103
111
## Next steps
104
112
105
-
Advance to the next tutorial to learn how to enable GitOps on your AKS or Azure Arc-enabled Kubernetes clusters
113
+
Advance to the next tutorial to learn how to enable GitOps on your AKS or Azure Arc-enabled Kubernetes clusters:
114
+
106
115
> [!div class="nextstepaction"]
107
116
*[Enable GitOps with Flux](./tutorial-use-gitops-flux2.md)
0 commit comments