Skip to content

Commit

Permalink
docs: Update cost optimisation to include information about cleaning …
Browse files Browse the repository at this point in the history
…up workflows and archiving (argoproj#4549)

Signed-off-by: Zach Brown <[email protected]>
  • Loading branch information
snowzach committed Nov 17, 2020
1 parent 7e12150 commit ad11180
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/cost-optimisation.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ Consider:

> Suitable for all.
A workflow (and for that matter, any Kubernetes resource) will incur a cost as long as they exist in your cluster.
A workflow (and for that matter, any Kubernetes resource) will incur a cost as long as they exist in your cluster, even after they are no longer running.

The workflow controller memory and CPU needs increase linearly with the number of pods and workflows you are currently running.
The workflow controller memory and CPU needs increase linearly with the number of pods and workflows you are currently running.

You should delete workflows once they are no longer needed, or enable a [Workflow Archive](workflow-archive.md) and you can still view them after they are removed from Kubernetes.

Limit the total number of workflows using:

Expand All @@ -65,8 +67,6 @@ spec:

You can set these configurations globally using [Default Workflow Spec](default-workflow-specs.md).

If you need to keep records historically, use the [Workflow Archive](workflow-archive.md).

Changing these settings will not delete workflows that have already run. To list old workflows:

```
Expand Down

0 comments on commit ad11180

Please sign in to comment.