deislabs / osiris

A general purpose, scale-to-zero component for Kubernetes
MIT License
464 stars 51 forks source link

Newly created osiris pods cannot activate already scaled to zero deployments #72

Closed hiroshi closed 4 years ago

hiroshi commented 4 years ago

Environment:

What happened?

What you expected to happen? Osiris activate it again.

How to reproduce it (as minimally and precisely as possible): See the what happen section.

Anything else that we need to know? Please leave a comment if you have a question.

hiroshi commented 4 years ago

After I did kubectl scale deployment/my-deployment --replicas=1 for the deployment in the lifespan of newly created osiris pods, it scale-to-zero and activate the deployment again as expected.

Other workaround might be:

hiroshi commented 4 years ago

Sorry, it can be a mistake. Some pods of old deployments long gone was activated...