Skip to content

Daemonset RollingUpdate Max Surge support #2106

Open
@abby-gourlay

Description

@abby-gourlay

Description

Currently the terraform provider doesn't support a max_surge argument in the rolling update configuration for a daemonset. However according to the Kubernetes documentation this should be possible

This attribute is in our existing daemonsets on our EKS 1.23 cluster
image

Potential Terraform Configuration

strategy {
      type = "RollingUpdate"
      rolling_update {
        max_unavailable = 0
        max_surge = "50%"
      }
    }

References

Terraform documentation: https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/daemonset#rolling_update

Kubernetes documentation: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/#:~:text=updateStrategy.rollingUpdate.-,maxSurge,-(IntOrString)

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions