Skip to content

Commit 633aef8

Browse files
Merge pull request #232898 from kaizentm/eedorenko/remove-azdo
Remove argocd
2 parents 10b7f6a + 86bea1a commit 633aef8

File tree

3 files changed

+6
-28
lines changed

3 files changed

+6
-28
lines changed
Binary file not shown.
-6.27 KB
Loading

articles/azure-arc/kubernetes/workload-management.md

Lines changed: 6 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Created repositories:
5151
Created AKS clusters in kalypso-rg resource group:
5252
- control-plane
5353
- drone (Flux based workload cluster)
54-
- large (ArgoCD based workload cluster)
54+
- large (Flux based workload cluster)
5555
---------------------------------
5656
```
5757

@@ -84,7 +84,7 @@ The script created the following Azure Kubernetes Service (AKS) clusters:
8484
8585
- `control-plane` - This cluster is a management cluster that doesn't run any workloads. The `control-plane` cluster hosts [Kalypso Scheduler](https://github.com/microsoft/kalypso-scheduler) operator that transforms high level abstractions from the [Control Plane](https://github.com/microsoft/kalypso-control-plane) repository to the raw Kubernetes manifests in the [Platform GitOps](https://github.com/microsoft/kalypso-gitops) repository.
8686
- `drone` - A sample workload cluster. This cluster has the [GitOps extension](conceptual-gitops-flux2.md) installed and it uses `Flux` to reconcile manifests from the [Platform GitOps](https://github.com/microsoft/kalypso-gitops) repository. For this sample, the `drone` cluster can represent an Azure Arc-enabled cluster or an AKS cluster with the Flux/GitOps extension.
87-
- `large` - A sample workload cluster. This cluster has `ArgoCD` installed on it to reconcile manifests from the [Platform GitOps](https://github.com/microsoft/kalypso-gitops) repository.
87+
- `large` - A sample workload cluster. This cluster has the [GitOps extension](conceptual-gitops-flux2.md) installed and it uses `Flux` to reconcile manifests from the [Platform GitOps](https://github.com/microsoft/kalypso-gitops) repository.
8888
8989
### Explore Control Plane
9090
@@ -96,7 +96,7 @@ The `main` branch:
9696
|------|-----------|
9797
|.github/workflows| Contains GitHub workflows that implement the promotional flow.|
9898
|.environments| Contains a list of environments with pointers to the branches with the environment configurations.|
99-
|templates| Contains manifest templates for various reconcilers (for example, Flux and ArgoCD) and a template for the workload namespace.|
99+
|templates| Contains manifest templates for various reconcilers and a template for the workload namespace.|
100100
|workloads| Contains a list of onboarded applications and services with pointers to the corresponding GitOps repositories.|
101101
102102
The `dev` and `stage` branches:
@@ -335,7 +335,7 @@ spec:
335335
```
336336
337337
> [!NOTE]
338-
> The `control plane` defines that the `drone` cluster type uses `Flux` to reconcile manifests from the application GitOps repositories. The `large` cluster type, on the other hand, reconciles manifests with `ArgoCD`. Therefore `reconciler.yaml` for the `performance-test` deployment target will look differently and contain `ArgoCD` resources.
338+
> The `control plane` defines that the `drone` cluster type uses `Flux` to reconcile manifests from the application GitOps repositories. Therefore `reconciler.yaml` file contains `GitRepository` and `Kustomization` resources.
339339
340340
### Promote application to Stage
341341
@@ -458,9 +458,6 @@ Run the following command for the `large` cluster and open `localhost:8002` in y
458458
kubectl port-forward svc/hello-world-service -n stage-kaizen-app-team-hello-world-app-uat-test 8002:8000 --context=large
459459
```
460460
461-
> [!NOTE]
462-
> It may take up to three minutes to reconcile the changes from the application GitOps repository on the `large` cluster.
463-
464461
The application instance on the `large` cluster shows the following greeting page:
465462
466463
:::image type="content" source="media/workload-management/stage-greeting-page.png" alt-text="Screenshot showing the greeting page on stage.":::
@@ -502,26 +499,7 @@ In a few seconds, a new PR to the `stage` branch in the `Platform GitOps` reposi
502499
503500
Approve the PR and merge it.
504501
505-
The `large` cluster is handled by ArgoCD, which, by default, is configured to reconcile every three minutes. This cluster doesn't report its compliance state to Azure like the clusters such as `drone` that have the [GitOps extension](conceptual-gitops-flux2.md). However, you can still monitor the reconciliation state on the cluster with ArgoCD UI.
506-
507-
To access the ArgoCD UI on the `large` cluster, run the following command:
508-
509-
```bash
510-
# Get ArgoCD username and password
511-
echo "ArgoCD username: admin, password: $(kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" --context large| base64 -d)"
512-
# output:
513-
# ArgoCD username: admin, password: eCllTELZdIZfApPL
514-
515-
kubectl port-forward svc/argocd-server 8080:80 -n argocd --context large
516-
```
517-
518-
Next, open `localhost:8080` in your browser and provide the username and password printed by the script. You'll see a web page similar to this one:
519-
520-
:::image type="content" source="media/workload-management/argocd-ui.png" alt-text="Screenshot showing the Argo CD user interface web page." lightbox="media/workload-management/argocd-ui.png":::
521-
522-
Select the `stage` tile to see more details on the reconciliation state from the `stage` branch to this cluster. You can select the `SYNC` buttons to force the reconciliation and speed up the process.
523-
524-
Once the new configuration has arrived to the cluster, check the `uat-test` application instance at `localhost:8002` after
502+
Once the new configuration has arrived to the `large` cluster, check the `uat-test` application instance at `localhost:8002` after
525503
running the following commands:
526504
527505
```bash
@@ -552,7 +530,7 @@ metadata:
552530
region: west-us
553531
size: small
554532
spec:
555-
reconciler: argocd
533+
reconciler: arc-flux
556534
namespaceService: default
557535
EOF
558536

0 commit comments

Comments
 (0)