From 2f4a67a0bf64f75fc181426dabd086c3f266e276 Mon Sep 17 00:00:00 2001 From: Mike Ng Date: Sun, 20 Oct 2024 22:22:12 -0400 Subject: [PATCH] doc: fix argocd pull solution not using the right context (#659) Signed-off-by: Mike Ng --- solutions/deploy-argocd-apps-pull/README.md | 4 ++++ .../deploy-argocd-apps-pull/getting-started.md | 13 ++++++++++--- .../deploy-argocd-apps-pull/troubleshooting.md | 1 - 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/solutions/deploy-argocd-apps-pull/README.md b/solutions/deploy-argocd-apps-pull/README.md index d79f9f2d0..8764af179 100644 --- a/solutions/deploy-argocd-apps-pull/README.md +++ b/solutions/deploy-argocd-apps-pull/README.md @@ -21,3 +21,7 @@ The pull model may offers some advantages over the existing push model: This ArgoCD pull model controller on the Hub cluster will create [ManifestWork](https://open-cluster-management.io/concepts/manifestwork/) objects wrapping Application objects as payload. The OCM agent on the Managed cluster will see the ManifestWork on the Hub cluster and pull the Application down. + +## Quick Start + +See the [Getting Started](./getting-started.md) for a quick start guide. diff --git a/solutions/deploy-argocd-apps-pull/getting-started.md b/solutions/deploy-argocd-apps-pull/getting-started.md index d740d7b55..e1314ef1c 100644 --- a/solutions/deploy-argocd-apps-pull/getting-started.md +++ b/solutions/deploy-argocd-apps-pull/getting-started.md @@ -38,6 +38,7 @@ 2. If your controller starts successfully, you should see: ``` + $ kubectl config use-context kind-hub $ kubectl -n open-cluster-management get deploy | grep pull argocd-pull-integration-controller-manager 1/1 1 1 106s ``` @@ -45,6 +46,7 @@ 3. On the Hub cluster, create ArgoCD cluster secrets that represent the managed clusters. This step can be automated with [OCM auto import controller](https://github.com/open-cluster-management-io/multicloud-integrations/). ``` + kubectl config use-context kind-hub for i in "cluster1" "cluster2" do cat <