We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following options from topologySpreadConstraints are missing in the spec template for kubernetes_deployment:
resource "kubernetes_deployment" "test" { spec { template { spec { container { // ... } topology_spread_constraint { // ... node_affinity_policy = "Honor" node_taints_policy = "Honor" match_label_keys = ["pod-template-hash"] min_domains = 1 } } } } }
Kubernetes: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#spread-constraint-definition Blog: https://kubernetes.io/blog/2023/04/17/fine-grained-pod-topology-spread-features-beta/
The text was updated successfully, but these errors were encountered:
This is also needed for the kubernetes_deployment_v1 resource
kubernetes_deployment_v1
Sorry, something went wrong.
#2327 ?
appilon
Successfully merging a pull request may close this issue.
Description
The following options from topologySpreadConstraints are missing in the spec template for kubernetes_deployment:
Potential Terraform Configuration
References
Kubernetes: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#spread-constraint-definition
Blog: https://kubernetes.io/blog/2023/04/17/fine-grained-pod-topology-spread-features-beta/
Community Note
The text was updated successfully, but these errors were encountered: