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

Commitf35813b

Browse files
authored
Quick start products environments (#967)
* Add quick start for productsAdded quick start topic for products* Update quick start for products environmentsUpdated content and screenshots for products and environments quick start* Update products quick startMoved product quick start to Gitops bucket and added section on main page as reference* Update gitops-products.mdFixed incorrect image syntax* Update nav.ymlAdded products quick start to nav yaml* Update screenshotsEdited content after self qa* Update gitops-products.md* Update gitops-products.mdContent edits and review comments* Update gitops-products.mdChanged chart version to app version* Update gitops-products.md* Update gitops-products.md* Update gitops-products.mdAdded value propositions for envs and products to overview* Updates to contentContent and edit updates* Update quick startPartially implemented feedback from Laurent* Update gitops-products.md* Update gitops-products.md* Update gitops-products.md
1 parentafd7d37 commitf35813b

20 files changed

+555
-1
lines changed

‎_data/nav.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
url:"/create-app-specs"
4646
-title:Update the image tag for application
4747
url:"/create-rollout"
48+
-title:Work with Environments & Products
49+
url:"/gitops-products"
4850

4951
-title:Dashboards & insights
5052
url:"/dashboards"

‎_docs/dashboards/gitops-environments.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Review [Key aspects when creating Environments](#key-aspects-when-creating-envir
9191
%}
9292

9393
{:start="3"}
94-
1. Click**Add**. Theenvironment is displayed in the GitOps Environments dashboard.
94+
1. Click**Add**. TheEnvironment is displayed in the Environments dashboard.
9595

9696
##Environments dashboard
9797
Here's an example of the Environments dashboard.

‎_docs/quick-start/gitops-quick-start.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,8 @@ Hybrid GitOps Runtimes are hosted on a customer cluster and managed by the custo
4646
Update the image for the`codefresh-guestbook` application to trigger a rollout.
4747

4848

49+
##Streamline deployments with Environments and Products
50+
1.[Create an Environment]({{site.baseurl}}/docs/quick-start/gitops-quick-start/gitops-products/#create-an-environment)
51+
Create a`dev` Environment and map clusters and namespaces.
52+
1.[Create and work with Products]({{site.baseurl}}/docs/quick-start/gitops-quick-start/gitops-products/#create--work-with-products)
53+
Add a Product`demo-trioapp`, assign interrelated Argo CD applications to it.

‎_docs/quick-start/gitops-quick-start/create-rollout.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,9 @@ When the image tag is updated, the auto-sync initiates the rollout.
7474

7575
You have now created and deployed an Argo CD application in Codefresh.
7676

77+
###What to do next
78+
Continue with:
79+
[Work with Environments & Products]({{site.baseurl}}/docs/getting-started/quick-start/gitops-products)
80+
81+
7782

‎_docs/quick-start/gitops-quick-start/gitops-products.md‎

Lines changed: 467 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
2+
3+
4+
You are all fmailiar with Argo CD applications!
5+
If you are a developer that;s what you develop and then deploy
6+
7+
8+
We are now going to introduce you to the concept of Products in GitOps.
9+
10+
Let's go back to Argo CD applications in Codefresh.
11+
12+
What would you want to create Products?
13+
14+
Explore the power of GitOps Products for Argo CD applications.
15+
16+
A Product unifies individual Argo CD applications that share a common element between them. Consider your payment applications organized by Environments that correspond to the regions they are deployed in. With Products, Codefresh allows you to group and track them as a cohesive entity as they move through different Environments.
17+
18+
We'll start by creating a Product, view and explore how it is displayed in the GitOps Products dashboard.
19+
We'll then connect
20+
21+
##View appplications
22+
23+
In the GitOps Apps dashboard, identify the applications you want to group as a Product.
24+
In the example below you can see that there are four versions of the trio application, one for each environment.
25+
These are essentially the same application, using more or less the same microservices with similar dependencies.
26+
We want to track and monitor this set of applications as the same product.
27+
28+
SCREENSHOT OF
29+
30+
##Create a Product
31+
Once you identify or have an idea of the applications you want to group as a Product, let's create the Product.
32+
The Product requires a unique name, optionally an annotation using which you can connect different Argo CD applications to it.
33+
34+
1. In the Codefresh UI, from the Ops in the sidebar, select**Products**.
35+
1. Click**Add Product**.
36+
1. Define the following:
37+
1.**Name**: A unique name for the Product,`trio-apps` for the quick start.
38+
1.**Connect Applications**: The annotation to associate with this Product, and to use to connect different applications to it. For the quick start, we'll use the default annotation automatically created, c`odefresh.io/product: trio-apps`. Copy the annotatopn to the cli[pboard]
39+
1.**Tags**: For the quick start, leave empty.
40+
41+
REPLACE WITH SCREENSHOT WITH FILLED IN FIELDS AS ABOVE
42+
{% include
43+
image.html
44+
lightbox="true"
45+
file="/images/gitops-products/create-product.png"
46+
url="/images/gitops-products/create-product.png"
47+
alt="Add Product"
48+
caption="Add Product"
49+
max-width="60%"
50+
%}
51+
52+
{:start="4"}
53+
1. Click**Add**. The Product is displayed in the Products dashboard.
54+
55+
##Explore the GitOps Products dashboard
56+
You'll see the Product we added, trio-apps in the Products dashboard.
57+
There are filters to focus on those proc
58+
59+
60+
##Connect applications to the trio-apps products
61+
The next step is
62+
63+
64+
Simply creating the Product is not usefule. You must connect any application to the Product for it to be included as and treated it as part of the product.
65+
66+
There are two ways to connect applications to Products.
67+
68+
1. Declarativley: By adding the Product's annotation to the application
69+
1. UI: By assigning an application to the Product
70+
71+
##Add product annotation to the application manifest
72+
73+
1. In the Products dashboard, if needed, mouse over the row with the trio-apps product, and click ??Edit.
74+
1. Copy the default annotation.
75+
1.
179 KB
Loading
654 KB
Loading
209 KB
Loading
142 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp