Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable high availability mode and podDisruptionBudget #30

Merged
merged 2 commits into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added
- Enable high availability mode and podDisruptionBudget

## [0.6.0] - 2023-10-02

### Changed
Expand Down
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