terraform-provider-rancher icon indicating copy to clipboard operation
terraform-provider-rancher copied to clipboard

Rolling upgrade

Open langoureaux-s opened this issue 7 years ago • 2 comments

Hi there,

there are a way to do rolling upgrade from terraform like rancher-cli ?

For example, we deploy our Elasticsearch cluster from Rancher + terraform. So when we upgrade, we need to do rolling upgrade to avoid cluster down. What is a way to do that ?

langoureaux-s avatar Oct 25 '18 13:10 langoureaux-s

Stack upgrades perform a rolling upgrade by default, with an optional auto finish/validation. You just need to use a rancher_stack object.

raphink avatar Oct 26 '18 07:10 raphink

Hum, ok but we can't manage the number of instance we can upgrade in same time, and how many time we need to wait before start upgrade the next instance (like in rancher cli) ?

langoureaux-s avatar Oct 26 '18 07:10 langoureaux-s