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/tutorial-use-gitops-flux2.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -424,46 +424,46 @@ Follow these steps to apply a sample Flux configuration to a cluster. As part of
424
424
1. In the **Basics** section:
425
425
426
426
1. Enter a name for the configuration.
427
-
2. Enter the namespace within which the Flux custom resources will be installed. This can be an existing namespace or a new one that will be created when the configuration is deployed.
428
-
3. Under **Scope**, select **Cluster** so that the Flux operator has access to apply the configuration to all namespaces in the cluster. To use `namespace` scope with this tutorial, [see the changes needed](conceptual-gitops-flux2.md#multi-tenancy).
429
-
4. Select **Next** to continue to the **Source** section.
427
+
1. Enter the namespace within which the Flux custom resources will be installed. This can be an existing namespace or a new one that will be created when the configuration is deployed.
428
+
1. Under **Scope**, select **Cluster** so that the Flux operator has access to apply the configuration to all namespaces in the cluster. To use `namespace` scope with this tutorial, [see the changes needed](conceptual-gitops-flux2.md#multi-tenancy).
429
+
1. Select **Next** to continue to the **Source** section.
430
430
431
431
:::image type="content" source="media/tutorial-use-gitops-flux2/portal-configuration-basics.png" alt-text="Screenshot showing the Basics options for a GitOps configuration in the Azure portal." lightbox="media/tutorial-use-gitops-flux2/portal-configuration-basics.png":::
432
432
433
433
1. In the **Source** section:
434
434
435
435
1. In **Source type**, select **Git Repository.**
436
-
2. Enter the URL for the repository where the Kubernetes manifests are located: `https://github.com/Azure/gitops-flux2-kustomize-helm-mt`.
437
-
3. For reference type, select **Branch**. Leave **Branch** set to **main**.
438
-
4. For **Repository type**, select **Public**.
439
-
5. Leave the other options set to the default, then select **Next**.
436
+
1. Enter the URL for the repository where the Kubernetes manifests are located: `https://github.com/Azure/gitops-flux2-kustomize-helm-mt`.
437
+
1. For reference type, select **Branch**. Leave **Branch** set to **main**.
438
+
1. For **Repository type**, select **Public**.
439
+
1. Leave the other options set to the default, then select **Next**.
440
440
441
441
:::image type="content" source="media/tutorial-use-gitops-flux2/portal-configuration-source.png" alt-text="Screenshow showing the Source options for a GitOps configuration in the Azure portal." lightbox="media/tutorial-use-gitops-flux2/portal-configuration-source.png":::
442
442
443
443
1. In the **Kustomizations** section, create two [kustomizations](gitops-flux2-parameters.md#kustomization): `infrastructure` and `staging`. These kustomizations are Flux resources, each associated with a path in the repository, that represent the set of manifests that Flux should reconcile to the cluster.
444
444
445
445
1. Select **Create**.
446
-
2. In the **Create a Kustomization** screen:
446
+
1. In the **Create a Kustomization** screen:
447
447
448
448
1. For **Instance name**, enter **infrastructure**.
449
-
2. For **Path**, enter **./infrastructure**.
450
-
3. Check the box for **Prune**. This setting ensures that the objects that Flux deployed to the cluster are cleaned up if they're removed from the repository, or if the Flux configuration or kustomizations are deleted.
451
-
4. Leave the other options as is, then select **Save** to create the `infrastructure` kustomization.
449
+
1. For **Path**, enter **./infrastructure**.
450
+
1. Check the box for **Prune**. This setting ensures that the objects that Flux deployed to the cluster are cleaned up if they're removed from the repository, or if the Flux configuration or kustomizations are deleted.
451
+
1. Leave the other options as is, then select **Save** to create the `infrastructure` kustomization.
452
452
453
453
:::image type="content" source="media/tutorial-use-gitops-flux2/portal-kustomization-infrastructure.png" alt-text="Screenshot showing the options to create the infrastructure kustomization in the Azure portal." lightbox="media/tutorial-use-gitops-flux2/portal-kustomization-infrastructure.png":::
454
454
455
-
3. You'll see the `infrastructure` kustomization in the **Kustomizations** section. To create the next kustomization, select **Create**.
456
-
4. In the **Create a Kustomization** screen:
455
+
1. You'll see the `infrastructure` kustomization in the **Kustomizations** section. To create the next kustomization, select **Create**.
456
+
1. In the **Create a Kustomization** screen:
457
457
458
458
1. For **Instance name**, enter **staging**.
459
-
2. For **Path**, enter **./apps/staging**.
460
-
3. Check the box for **Prune**.
461
-
4. In the **Depends on** box, select **infrastructure**.
462
-
5. Leave the other options as is, then select **Save** to create the `staging` kustomization.
459
+
1. For **Path**, enter **./apps/staging**.
460
+
1. Check the box for **Prune**.
461
+
1. In the **Depends on** box, select **infrastructure**.
462
+
1. Leave the other options as is, then select **Save** to create the `staging` kustomization.
463
463
464
464
:::image type="content" source="media/tutorial-use-gitops-flux2/portal-kustomization-staging.png" alt-text="Screenshot showing the options to create the staging kustomization in the Azure portal." lightbox="media/tutorial-use-gitops-flux2/portal-kustomization-staging.png":::
465
465
466
-
5. You now should see both kustomizations shown in the **Kustomizations** section. Select **Next** to continue.
466
+
1. You now should see both kustomizations shown in the **Kustomizations** section. Select **Next** to continue.
467
467
468
468
1. Review the options you selected in the previous steps. Then select **Create** to finish creating your GitOps configuration.
0 commit comments