-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(argo-workflows): add an HA section (#2183)
* feat(argo-workflows): add a sample HA config - a `values-ha.yaml` as an example for how one would set-up HA according to the Argo Workflows docs Signed-off-by: Anton Gilgur <[email protected]> * docs(argo-workflows): add an HA section - plus add a test for HA, which the docs link to as an example - link back to [upstream docs](https://argoproj.github.io/argo-workflows/high-availability/) as well - follow the same basic structure as the [Argo CD chart for HA](https://github.com/argoproj/argo-helm/blob/3e35b0c7f7d758d553b17f369cc5940484ef5d89/charts/argo-cd/README.md?plain=1#L17) - as asked in review Signed-off-by: Anton Gilgur <[email protected]> --------- Signed-off-by: Anton Gilgur <[email protected]> Signed-off-by: Anton Gilgur <[email protected]> Co-authored-by: Aikawa <[email protected]>
- Loading branch information
Showing
4 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Sample values for High Availability configuration, following https://argoproj.github.io/argo-workflows/high-availability/ | ||
|
||
controller: | ||
# in v3.0+, a second controller can be ran as a hot-standby: https://argoproj.github.io/argo-workflows/high-availability/#workflow-controller | ||
replicas: 2 # should be strictly greater than PDB minAvailable | ||
# enable PDB with at least one Pod | ||
pdb: | ||
# -- Configure [Pod Disruption Budget] for the controller pods | ||
enabled: true | ||
minAvailable: 1 | ||
|
||
server: | ||
# enable HPA with at least two Pods | ||
autoscaling: | ||
# -- Enable Horizontal Pod Autoscaler ([HPA]) for the Argo Server | ||
enabled: true | ||
# -- Minimum number of replicas for the Argo Server [HPA] | ||
minReplicas: 2 # should be strictly greater than PDB minAvailable | ||
# enable PDB with at least one Pod | ||
pdb: | ||
# -- Configure [Pod Disruption Budget] for the controller pods | ||
enabled: true | ||
minAvailable: 1 |