You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Feng LI <ne...@gmail.com> on 2018/07/19 15:26:02 UTC

Is upgradeStrategy respected during redeployment

Hello guys,

We had a very similar issue as this one:
https://jira.mesosphere.com/browse/MARATHON-2340

Basically the upgradeStrategy is not respected during the rollback, which
results in 0 healthy instance.

I'm wondering what happens if I do a deployment of the old version instead
of a rollback, will it respect the upgradeStrategy in this case. More
precisely:

1. Assume we have 4 healthy instances
2. A new deployment with minimumHealthyCapacity to 0.5, and the new
deployment will end up with unhealthy status. So we'll end up with 2
healthy instances and 2 unhealthy instances
3. If we rollback this deployment, we'll end up with 0 healthy instances
(say the old version will fail with healthy check due to startup/warmup
issue)
4. The question is, what if we don't rollback, but do a deployment with the
old version? Will marathon guarantee the upgradeStrategy in this case?

Thanks,
Feng

Re: Is upgradeStrategy respected during redeployment

Posted by Alex Rukletsov <al...@mesosphere.com>.
Feng,

I'd suggest to contact Marathon developers directly, check out
https://github.com/mesosphere/marathon#help.

On Mon, Jul 23, 2018 at 12:01 PM, Feng LI <ne...@gmail.com> wrote:

> I think this might worth a discussion here.
>
> Feng
> ---------- Forwarded message ---------
> From: Feng LI <ne...@gmail.com>
> Date: jeu. 19 juil. 2018 à 17:26
> Subject: Is upgradeStrategy respected during redeployment
> To: <us...@mesos.apache.org>
>
>
> Hello guys,
>
> We had a very similar issue as this one:
> https://jira.mesosphere.com/browse/MARATHON-2340
>
> Basically the upgradeStrategy is not respected during the rollback, which
> results in 0 healthy instance.
>
> I'm wondering what happens if I do a deployment of the old version instead
> of a rollback, will it respect the upgradeStrategy in this case. More
> precisely:
>
> 1. Assume we have 4 healthy instances
> 2. A new deployment with minimumHealthyCapacity to 0.5, and the new
> deployment will end up with unhealthy status. So we'll end up with 2
> healthy instances and 2 unhealthy instances
> 3. If we rollback this deployment, we'll end up with 0 healthy instances
> (say the old version will fail with healthy check due to startup/warmup
> issue)
> 4. The question is, what if we don't rollback, but do a deployment with the
> old version? Will marathon guarantee the upgradeStrategy in this case?
>
> Thanks,
> Feng
>

Fwd: Is upgradeStrategy respected during redeployment

Posted by Feng LI <ne...@gmail.com>.
I think this might worth a discussion here.

Feng
---------- Forwarded message ---------
From: Feng LI <ne...@gmail.com>
Date: jeu. 19 juil. 2018 à 17:26
Subject: Is upgradeStrategy respected during redeployment
To: <us...@mesos.apache.org>


Hello guys,

We had a very similar issue as this one:
https://jira.mesosphere.com/browse/MARATHON-2340

Basically the upgradeStrategy is not respected during the rollback, which
results in 0 healthy instance.

I'm wondering what happens if I do a deployment of the old version instead
of a rollback, will it respect the upgradeStrategy in this case. More
precisely:

1. Assume we have 4 healthy instances
2. A new deployment with minimumHealthyCapacity to 0.5, and the new
deployment will end up with unhealthy status. So we'll end up with 2
healthy instances and 2 unhealthy instances
3. If we rollback this deployment, we'll end up with 0 healthy instances
(say the old version will fail with healthy check due to startup/warmup
issue)
4. The question is, what if we don't rollback, but do a deployment with the
old version? Will marathon guarantee the upgradeStrategy in this case?

Thanks,
Feng