Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5955c4a

Browse files
App-of-apps support in the GitOps dashboard
1 parentbefafc2 commit5955c4a

File tree

5 files changed

+51
-0
lines changed

5 files changed

+51
-0
lines changed

‎_docs/ci-cd-guides/gitops-deployments.md‎

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,53 @@ This pipeline:
552552

553553
The CD pipeline (described in the previous section) will detect that commit and use the[sync plugin](https://codefresh.io/steps/step/argocd-sync) to instruct ArgoCD to deploy the new tag. Alternatively you can setup the ArgoCD project to auto-sync on its own if it detects changes in the Git repository with the manifests.
554554

555+
556+
##Using the App-of-Apps pattern
557+
558+
The GitOps dashboard has native support for the[app-of-apps pattern](https://argo-cd.readthedocs.io/en/stable/operator-manual/cluster-bootstrapping/). If you have a number of applications that are related and you always
559+
install them as a set in your cluster you can group them in a single Application. The parent application can be defined using[declarative Argo Resources](https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/).
560+
561+
As an example, you might find that you always install in your cluster Linkerd, Prometheus and Ambassador. You can group all of them in a single Application
562+
and deploy them all at once.
563+
564+
You can find an existing example of app-of-apps at[https://github.com/argoproj/argocd-example-apps/tree/master/apps](https://github.com/argoproj/argocd-example-apps/tree/master/apps). It is using[Helm]({{site.baseurl}}/docs/yaml-examples/examples/helm/), but you can use any other Kubernetes templating mechanism such as[Kustomize]({{site.baseurl}}/docs/yaml-examples/examples/deploy-with-kustomize/) (or even plain manifests).
565+
566+
Once you deploy the application with Codefresh, you will see the parent app in the dashboard with a small arrow:
567+
568+
{% include image.html
569+
lightbox="true"
570+
file="/images/guides/gitops/app-of-apps-closed.png"
571+
url="/images/guides/gitops/app-of-apps-closed.png"
572+
alt="App of Apps"
573+
caption="App of Apps"
574+
max-width="90%"
575+
%}
576+
577+
You can expand the application by clicking on the arrow to inspect its child applications.
578+
579+
{% include image.html
580+
lightbox="true"
581+
file="/images/guides/gitops/app-of-apps.png"
582+
url="/images/guides/gitops/app-of-apps.png"
583+
alt="App of Apps expanded"
584+
caption="App of Apps expanded"
585+
max-width="90%"
586+
%}
587+
588+
Then you can either click on the parent application or any of the children to visit the respective dashboard. In the dashboard of the parent application, you will also be notified for its components after each deployment under the "Updated Applications" header:
589+
590+
{% include image.html
591+
lightbox="true"
592+
file="/images/guides/gitops/updated-apps.png"
593+
url="/images/guides/gitops/updated-apps.png"
594+
alt="Children applications"
595+
caption="Children applications"
596+
max-width="90%"
597+
%}
598+
599+
Note that the app of apps pattern is best used for related but not interdependent applications. If you have applications that depend on each other (e.g. frontend that needs backend and backend that needs a DB) we suggest you use the standard[Helm dependency mechanism](https://helm.sh/docs/helm/helm_dependency/).
600+
601+
555602
##Integrating Codefresh and Jira
556603

557604
>Note that Codefresh currently has to provide you with access to use the Jira Marketplace App. Please get in touch for more information.

‎_docs/whats-new/whats-new.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ toc: true
1313

1414
##Recent Codefresh Updates:
1515

16+
###May 2021
17+
18+
- Support for App-of-app patterns in the GitOps dashboard-[documentation]({{site.baseurl}}/docs/ci-cd-guides/gitops-deployments/#using-the-app-of-apps-pattern)
19+
1620
###April 2021
1721

1822
- Jira integration with Atlassian Open DevOps-[documentation]({{site.baseurl}}/docs/integrations/jira/)
55.6 KB
Loading
84.6 KB
Loading
54.6 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp