Container pool should distribute activations only to ready containers
- Dominant language
- Scala
- Stars
- 6.8k
- Forks
- 1.2k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 2
Description
## Environment details:
Deploying to Kubernetes on GKE with node pool autoscaling
## Steps to reproduce the issue:
1. Launch many concurrent actions (more than can be handled by the current node pool)
2. Observe that new pods are scheduled and in pending state while autoscaling is occurring
3. Notice that even if some of the activations finish within (eg) 10s, the other actions are still waiting on the pod to be spun up
## Provide the expected results and outputs:
OpenWhisk should perform the autoscaling, but only distribute activations amongst the READY pods (eg after calling the `/init` endpoint on the container).
Contributor guide
Research direction
Start by tracing the container pool's activation scheduling and readiness handling, using the `/init` endpoint as the readiness boundary. Reproduce the behavior with concurrent actions during pod autoscaling and verify that activations are assigned only after containers report READY.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- google-cloud, kubernetes, scala
- Domain
- backend, cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100