workflow icon indicating copy to clipboard operation
workflow copied to clipboard

ps:scale doesn't return after scaling to 1000 app pods

Open Cryptophobia opened this issue 7 years ago • 1 comments

From @seanknox on June 16, 2017 23:17

$  deis version
v2.14.0
  • Running on Azure with 100 worker nodes.

STR

  1. Create an app with deis/example-go
  2. scale to 1000 replicas

EXPECTED

  • After app replicas reached 1000, command would return

ACTUAL

  • The pods were scaled to 1000 replicas on Kubernetes, but deis ps:scale cmd=1000 sat indefinitely (waited ~10 minutes before giving up).

Copied from original issue: deis/workflow#827

Cryptophobia avatar Mar 20 '18 20:03 Cryptophobia

From @Joshua-Anderson on June 18, 2017 22:6

I believe that pods are scaled synchronously by the controller, so the command will wait until all 1000 pods are scaled. With the default pod scaling rates and health checks, this could take a really long time.

Cryptophobia avatar Mar 20 '18 20:03 Cryptophobia