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

Commit61fe141

Browse files
authored
Add app rollback to manage applications (#672)
* Add app rollback to manage applications* Update application rollbackAdded more screenshots and updated content* Update app rollback* Update applications-dashboard.md* Move apps rollout to managing applicationsMoved app rollout from monitoring to managing applications topic* Update manage-application.md* Update screenshot for app rollout* Update release-notes.md* Update release-notes.md
1 parent2138c57 commit61fe141

File tree

9 files changed

+146
-44
lines changed

9 files changed

+146
-44
lines changed

‎_docs/deployments/gitops/applications-dashboard.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ The Quick View includes the following tabs:
201201

202202

203203

204+
204205
##Monitor resources for selected application
205206

206207
Monitor the resources deployed in the current version of the selected application in the Current State tab.
@@ -525,6 +526,7 @@ caption="GitOps Apps dashboard: Deployment chart"
525526
max-width="60%"
526527
%}
527528

529+
528530
###Monitor CI details by deployment
529531

530532
Each deployment record displays the complete CI history for that deployment.

‎_docs/deployments/gitops/manage-application.md‎

Lines changed: 130 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@ Application creation and deployment is one part of the continuous deployment/del
1414
*[Synchronize applications](#manually-synchronize-an-application)
1515
Sync applications on-demand by manually applying sync options or selecting the resources to sync.
1616

17-
*[Delete applications](#delete-an-application)
18-
Delete unused or legacy applicationstoavoid clutter and remove unnecessary resources.
17+
*[Rollback applications](#rollback-gitops-applications)
18+
Rollback an applicationtoa previous deployment version.
1919

2020

2121
*[Manage rollouts for deployments](#manage-rollouts-for-deployments)
2222
Control ongoing rollouts by resuming indefinitely paused steps, promoting rollouts, aborting, restarting and retrying rollouts.
2323

24+
*[Delete applications](#delete-an-application)
25+
Delete unused or legacy applications to avoid clutter and remove unnecessary resources.
26+
2427

2528

2629

@@ -219,41 +222,99 @@ For example, if you made changes to `api` resources or `audit` resources, type `
219222
<br><br>
220223
{:/}
221224

222-
##Delete an application
223-
Delete an application from Codefresh. Deleting an application deletes the manifest from the Git repository, and then from the cluster where it is deployed. When deleted from the cluster, the application is removed from the GitOps Apps dashboard in Codefresh.
225+
##Rollback GitOps applications
226+
Rollback to a previously deployed version of active GitOps applications. You may want to rollback a newly deployed version due to errors in your code or misconfigurations, etc.
227+
228+
###Prerequisites for rollback
229+
230+
Rollback can be disabled for the following reasons:
231+
232+
***Auto-sync ON for applications**
233+
If auto-sync is`ON`, the default behavior for GitOps is to sync the cluster with the desired state in Git. The Rollback button is disabled with a tooltip.
234+
235+
236+
For application rollback, auto-sync must be`OFF`. The quickest and easiest way to identify auto-sync status is through the Application Header.
237+
To change the setting,[edit]({{site.baseurl}}/docs/deployments/gitops/manage-application/#edit-application-definitions) the application's[General configuration settings]({{site.baseurl}}/docs/deployments/gitops/create-application/#application-general-configuration-settings).
238+
239+
240+
{% include
241+
image.html
242+
lightbox="true"
243+
file="/images/applications/app-rollback-autosync-app-header.png"
244+
url="/images/applications/app-rollback-autosync-app-header.png"
245+
alt="Auto-sync status in Application Header"
246+
caption="Auto-sync status in Application Header"
247+
max-width="80%"
248+
%}
249+
250+
***Deployment version for rollback older than history limit**
251+
By default, you can rollback to any the previous ten deployments (same as Argo CD).
252+
If you try to rollback to a deployment older than ten of the most recent deployments, the Rollback option is disabled with a tooltip, that the 'Release is not in history'.
253+
254+
>TIP:
255+
>To configure a different number, edit the application manifest and add`RevisionHistoryLimit` set to the number of previous deployments you need in the`spec` section.
224256
225-
>**Prune resources** in the application's General settings determines the scope of the delete action.
226-
When selected, both the application and its resources are deleted. When cleared, only the application is deleted. For more information, review[Sync settings]({{site.baseurl}}/docs/deployments/gitops/create-application/#sync-settings).
227-
Codefresh warns you of the implication of deleting the selected application in the Delete form.
228257

229-
1. In the Codefresh UI, from Ops in the sidebar, select[GitOps Apps](https://g.codefresh.io/2.0/applications-dashboard/list){:target="\_blank"}.
230-
1. Select theapplicationto delete.
231-
1. Click the three dots for additional actions, and select**Delete**.
258+
***Deleted version of application**
259+
You can activate rollback only for_new_ and currently activeapplicationversions that are deployed.
260+
If you deleted an application and then recreated it with the same name, you cannot rollback to the deleted version or to any version prior to the deletion. The Rollback button is disabled with a tooltip.
232261

233-
{% include
234-
image.html
235-
lightbox="true"
236-
file="/images/applications/app-delete-option.png"
237-
url="/images/applications/app-delete-option.png"
238-
alt="Deleteapplication"
239-
caption="Delete application"
240-
max-width="80%"
241-
%}
262+
{% include
263+
image.html
264+
lightbox="true"
265+
file="/images/applications/app-rollback-disabled.png"
266+
url="/images/applications/app-rollback-disabled.png"
267+
alt="Rollback disabled for deleted version ofapplication"
268+
caption="Rollback disabled for deleted version of application"
269+
max-width="80%"
270+
%}
242271

243-
Pay attention to the_impact of the delete action_ for the selected application that Codefresh displays.
244272

245-
{% include
246-
image.html
247-
lightbox="true"
248-
file="/images/applications/delete-app-prune-affects.png"
249-
url="/images/applications/delete-app-prune-affects.png"
250-
alt="Prune setting impact on deleting application"
251-
caption="Prune setting impact on deleting application"
252-
max-width="70%"
253-
%}
254273

255-
{:start="4"}
256-
1. To confirm, click**Commit & Delete**.
274+
275+
###How to rollback an application
276+
1. In the Codefresh UI, from Ops in the sidebar, select**GitOps Apps**.
277+
1. Select the application to rollback and then click the**Timeline** tab.
278+
1. In the Application Header, verify that Auto-sync is`OFF` for the application.
279+
1. Mouse over the deployment version to rollback to view the Rollback option.
280+
281+
{% include
282+
image.html
283+
lightbox="true"
284+
file="/images/applications/app-rollback-enabled.png"
285+
url="/images/applications/app-rollback-enabled.png"
286+
alt="Rollback application in Timeline tab"
287+
caption="Rollback application in Timeline tab"
288+
max-width="70%"
289+
%}
290+
291+
{:start="5"}
292+
1. To start, click**Rollback** and confirm.
293+
* The 'Rollout process started' notification is displayed.
294+
* The application's Health status changes to`Progressing` and the Sync status changes to`out-of-sync`.
295+
* A deployment record is created for the rollout with`Progressing`.
296+
297+
{% include
298+
image.html
299+
lightbox="true"
300+
file="/images/applications/app-rollback-progressing.png"
301+
url="/images/applications/app-rollback-progressing.png"
302+
alt="Rollback progressing in deployment record"
303+
caption="Rollback progressing in deployment record"
304+
max-width="70%"
305+
%}
306+
307+
Once completed, the application's statuses are updated.
308+
309+
{% include
310+
image.html
311+
lightbox="true"
312+
file="/images/applications/app-rollback-completed.png"
313+
url="/images/applications/app-rollback-completed.png"
314+
alt="Rollback completed for application"
315+
caption="Rollback completed for application"
316+
max-width="70%"
317+
%}
257318

258319
##Manage rollouts for deployments
259320
Control ongoing rollouts by resuming indefinitely paused steps, promoting rollouts, aborting, restarting and retrying rollouts.
@@ -365,6 +426,44 @@ The table describes the options for the `Rollout` resource.
365426
|**Retry**| Retry a rollout that has been aborted. Available only when a rollout has been aborted.|
366427
|**Skip-current-step**| Skip executing the current step, and continue with the next step.|
367428

429+
##Delete an application
430+
Delete an application from Codefresh. Deleting an application deletes the manifest from the Git repository, and then from the cluster where it is deployed. When deleted from the cluster, the application is removed from the GitOps Apps dashboard in Codefresh.
431+
432+
>**Prune resources** in the application's General settings determines the scope of the delete action.
433+
When selected, both the application and its resources are deleted. When cleared, only the application is deleted. For more information, review[Sync settings]({{site.baseurl}}/docs/deployments/gitops/create-application/#sync-settings).
434+
Codefresh warns you of the implication of deleting the selected application in the Delete form.
435+
436+
1. In the Codefresh UI, from Ops in the sidebar, select[GitOps Apps](https://g.codefresh.io/2.0/applications-dashboard/list){:target="\_blank"}.
437+
1. Select the application to delete.
438+
1. Click the three dots for additional actions, and select**Delete**.
439+
440+
{% include
441+
image.html
442+
lightbox="true"
443+
file="/images/applications/app-delete-option.png"
444+
url="/images/applications/app-delete-option.png"
445+
alt="Delete application"
446+
caption="Delete application"
447+
max-width="80%"
448+
%}
449+
450+
Pay attention to the_impact of the delete action_ for the selected application that Codefresh displays.
451+
452+
{% include
453+
image.html
454+
lightbox="true"
455+
file="/images/applications/delete-app-prune-affects.png"
456+
url="/images/applications/delete-app-prune-affects.png"
457+
alt="Prune setting impact on deleting application"
458+
caption="Prune setting impact on deleting application"
459+
max-width="70%"
460+
%}
461+
462+
{:start="4"}
463+
1. To confirm, click**Commit & Delete**.
464+
465+
466+
368467

369468

370469

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

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ group: whats-new
55
toc:true
66
---
77

8-
Welcome to our unified Release Notes, including Codefresh pipelines and Codefresh GitOps!
8+
Welcome to our unified Release Notes, including Codefresh pipelines and Codefresh GitOps! If you missed online announcements, this is where you can find the new features, enhancements, and bug fixes.
9+
910

1011
##March 2023
1112

1213
###Features & Enhancements
1314

14-
####CI/CD: Selective restart for failed build steps
15+
####Pipelines: Selective restart for failed build steps
1516
We added the**Restart from a failed step** as an option to the pipeline's Policy settings, which you can enable/disable per pipeline.
1617
{% include
1718
image.html
@@ -34,7 +35,7 @@ For details, see [Policy settings for pipelines]({{site.baseurl}}/docs/pipelines
3435

3536
<br>
3637

37-
####CI/CD: Datadog integration enhancements
38+
####Pipelines: Datadog integration enhancements
3839
We enhanced our integration with Datadog to report additional information from Codefresh pipelines in Datadog.
3940
<br>
4041
The new information should make it even easier to monitor and analyze Codefresh pipelines in Datadog:
@@ -60,7 +61,7 @@ See [Datadog pipeline integration]({{site.baseurl}}/docs/integrations/datadog/).
6061

6162

6263

63-
####CI/CD: Override runtime environment for GitOps pipeline integrations
64+
####Pipelines: Override runtime environment for GitOps pipeline integrations
6465
A GitOps pipeline integration uses the default runtime environment. After creating a GitOps pipeline integration, you can now override its runtime environment.
6566
Codefresh uses the runtime environment for system actions such as Rollback.
6667

@@ -135,7 +136,7 @@ See [Monitoring GitOps applications]({{site.baseurl}}/docs/deployments/gitops/ap
135136

136137
###Bug fixes
137138

138-
####CI/CD
139+
####Pipelines
139140
* Triggers for inactive webhooks return 200.
140141
* In full-screen view mode, the pipeline list panel on the left overlaps the pipeline YAML.
141142
* Unable to override image used for`cf-runtime-lv-monitor Daemonset` in the Runner Helm chart.
@@ -169,7 +170,7 @@ See [Monitoring GitOps applications]({{site.baseurl}}/docs/deployments/gitops/ap
169170

170171
###Features & Enhancements
171172

172-
####CI/CD: Slack integration notification for builds terminated by system
173+
####Pipelines: Slack integration notification for builds terminated by system
173174
Notifications for failed builds are equally, if not more important, than those for successful builds. Getting notifications for system-terminated builds is crucial, as it indicates that the build was stopped because of pipeline policy and may require immediate attention. You can quickly investigate the issue and take corrective action if necessary.
174175

175176

@@ -199,15 +200,15 @@ Here's an example of the notification you would receive in Slack.
199200

200201
<br>
201202

202-
####CI/CD: Multiple Helm contexts for pipelines
203+
####Pipelines: Multiple Helm contexts for pipelines
203204
With support for multiple Helm registry contexts in the same pipeline, dependencies in any of the imported Helm registry contexts in the Helm chart are automatically authenticated and added.
204205
For the Helm`install` and`push` actions, you can select the primary Helm registry context for the command.
205206
For details, see[Import Helm configurations into your pipeline definition]({{site.baseurl}}/docs/deployments/helm/using-helm-in-codefresh-pipeline/#step-4-optional-import-helm-configurations-into-your-pipeline-definition) and[Action modes]({{site.baseurl}}/docs/deployments/helm/using-helm-in-codefresh-pipeline/#helm-step-action-modes).
206207

207208

208209
<br>
209210

210-
####CI/CD: Multiple cache sources for pipeline builds
211+
####Pipelines: Multiple cache sources for pipeline builds
211212

212213
Docker has support for specifying external cache sources for builds. We added the`cache-from` argument to our`build` step allowing you to specify additional cache sources and speed up the build process. Multiple cache sources are useful when your primary cache source is unavailable or slow.
213214

@@ -236,7 +237,7 @@ For details, see [`cache_from` in `build` step fields]({{site.baseurl}}/docs/pip
236237

237238
<br>
238239

239-
####CI/CD: Control thresholds for memory usage warning banner
240+
####Pipelines: Control thresholds for memory usage warning banner
240241
Remember the banner that alerted you whenever the memory usage for a pipeline build exceeded 70 or 90%?
241242
You can now decide the usage threshold at which to display the banner. Increasing the threshold helps avoid premature warnings for pipelines that do not consume a lot of memory, while decreasing it for resource-intensive pipelines helps avoid build failures.
242243

@@ -259,7 +260,7 @@ See [Memory usage warning for pipeline builds]({{site.baseurl}}/docs/pipelines/c
259260

260261
<br>
261262

262-
####CI/CD: New flow for Cloud Builds for pipelines
263+
####Pipelines: New flow for Cloud Builds for pipelines
263264
Previously, all Codefresh accounts had access to a SaaS runtime environment to run pipelines. However, this is no longer the case. Account administrators can request SaaS runtime environments by clicking**Enable Cloud Builds** in Codefresh. This action triggers an email request to Codefresh, and you should receive a response within 24 hours.
264265

265266

@@ -275,7 +276,7 @@ For details, see [Argo CD Releases](https://github.com/argoproj/argo-cd/releases
275276
####Usability enhancements
276277
Saves time and ease of use in interactions with Codefresh.
277278

278-
***CI/CD: Prompt to switch accounts**
279+
***Pipelines: Prompt to switch accounts**
279280
To avoid confusion, when you are signed into more than one Codefresh account, you are prompted to either switch to the active account or return to the previous one.
280281

281282
{% include
@@ -288,7 +289,7 @@ Saves time and ease of use in interactions with Codefresh.
288289
max-width="50%"
289290
%}
290291

291-
***CI/CD: Case-insensitive search for Pipelines and Pipeline List view**
292+
***Pipelines: Case-insensitive search for Pipelines and Pipeline List view**
292293
Search is now easier as queries are case-insensitive.
293294

294295
***GitOps: Terminate Sync now in application header**
@@ -313,7 +314,7 @@ See [Application header]({{site.baseurl}}/docs/deployments/gitops/applications-d
313314

314315
###Bug fixes
315316

316-
####CI/CD
317+
####Pipelines
317318
- Logs not generated and slow build execution.
318319
-`CF_HELM_SET` variable printed as[object Object].
319320
- Variables added via pipeline hooks not rendered for build annotations.
41.6 KB
Loading
138 KB
Loading
135 KB
Loading
131 KB
Loading
64.4 KB
Loading
51.7 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp