Skip to content

Commit

Permalink
Enable HA with PDB
Browse files Browse the repository at this point in the history
  • Loading branch information
tuladhar committed Jan 1, 2024
1 parent 23ecb59 commit 809f14e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions helm/teleport-kube-agent/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
"replicaCount": {
"$id": "#/properties/replicaCount",
"type": "integer",
"default": 1
"default": 2
},
"clusterRoleName": {
"$id": "#/properties/clusterRoleName",
Expand Down Expand Up @@ -378,7 +378,7 @@
"enabled": {
"$id": "#/properties/highAvailability/properties/podDisruptionBudget/properties/enabled",
"type": "boolean",
"default": false
"default": true
},
"minAvailable": {
"$id": "#/properties/highAvailability/properties/podDisruptionBudget/properties/minAvailable",
Expand Down
4 changes: 2 additions & 2 deletions helm/teleport-kube-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ labels: {}
# Settings for high availability.
highAvailability:
# Set to >1 for a high availability mode where multiple Teleport agent pods will be deployed.
replicaCount: 1
replicaCount: 2
# Setting 'requireAntiAffinity' to true will use 'requiredDuringSchedulingIgnoredDuringExecution' to require that multiple Teleport pods must not be scheduled on the
# same physical host. This will result in Teleport pods failing to be scheduled in very small clusters or during node downtime, so should be used with caution.
# Setting 'requireAntiAffinity' to false (the default) uses 'preferredDuringSchedulingIgnoredDuringExecution' to make this a soft requirement.
Expand All @@ -185,7 +185,7 @@ highAvailability:
# If enabled will create a Pod Disruption Budget
# https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
podDisruptionBudget:
enabled: false
enabled: true
minAvailable: 1

################################################################
Expand Down

0 comments on commit 809f14e

Please sign in to comment.