Get rolling deployment windows size from Powershell

Is it possible to get the window size for a rolling deployment from Powershell? I’d like to make sure that the number of active servers in my load balancer is > the defined window size to prevent an accidental outage during a deployment.

Hi Nate,

Thanks for getting in touch! You can bind a variable to the Window size field in a rolling deployment, and define the variable as prompted. Prompted variables allow you to define the value at deployment time, so you could set that depending on how many active servers there are at the time, which will then define the windows size through that variable. Would that help you achieve what you’re after?

Let me know what you think or if you have any further questions at all moving forward. :slight_smile:

Kind regards,

Kenny

I believe this would work. Thanks Kenneth!

Hi Nate,

You’re very welcome! Let me know how you go or if you have any further questions in the future. :slight_smile:

Kind regards,

Kenny

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.