-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
Description
Description
maxUnavailable is a field on StatefulSet's spec.updateStrategy.rollingUpdate config. As of Kubernetes v1.35, It is in Beta stage and supported by default, but it is not yet supported in Terraform.
See https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#maximum-unavailable-pods
Potential Terraform Configuration
resource "kubernetes_stateful_set" "test" {
// ...
spec {
update_strategy {
type = "RollingUpdate"
rolling_update {
max_unavailable = "50%"
}
}
}
}References
This was originally reported as #1933, but that was closed due to the feature being alpha in Kubernetes. But it is now Beta and supported by default.
Community Note
- Please vote on this issue by adding a π reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Reactions are currently unavailable