diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b10c8d..8f002e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/helm/teleport-kube-agent/values.schema.json b/helm/teleport-kube-agent/values.schema.json index f993771..4c15276 100644 --- a/helm/teleport-kube-agent/values.schema.json +++ b/helm/teleport-kube-agent/values.schema.json @@ -336,7 +336,7 @@ "replicaCount": { "$id": "#/properties/replicaCount", "type": "integer", - "default": 1 + "default": 2 }, "clusterRoleName": { "$id": "#/properties/clusterRoleName", @@ -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", diff --git a/helm/teleport-kube-agent/values.yaml b/helm/teleport-kube-agent/values.yaml index 63f4aec..bb5f829 100644 --- a/helm/teleport-kube-agent/values.yaml +++ b/helm/teleport-kube-agent/values.yaml @@ -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. @@ -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 ################################################################