Skip to content

Commit

Permalink
IDP-2209 Bump default replicas to 2 (#74)
Browse files Browse the repository at this point in the history
* Bump default replicas to 2

We set this to 2 by default because the `PodDisruptionBudget` is set to minimum 1 running replica and having only one replica creates a deadlock while draining nodes during cluster upgrades.

* Bump chart to 2.1.1
  • Loading branch information
starcraft66 authored Oct 9, 2024
1 parent 821c1b1 commit dc7b459
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/aspnetcore/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: aspnetcore
description: A generic Helm chart for ASP.NET Core services
version: 2.1.0
version: 2.1.1
home: https://github.com/gsoft-inc/gsoft-helm-charts
sources:
- https://github.com/gsoft-inc/gsoft-helm-charts
Expand Down
3 changes: 2 additions & 1 deletion charts/aspnetcore/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## @param replicaCount Number of ASP.NET Core replicas to deploy
##
replicaCount: 1
## We set this to 2 by default because the PodDisruptionBudget is set to minimum 1 running replica and having only one replica creates a deadlock while draining nodes during cluster upgrades
replicaCount: 2

## @param environment The ASP.NET Core environment name (DOTNET_ENVIRONMENT)
##
Expand Down

0 comments on commit dc7b459

Please sign in to comment.