shakacode / control-plane-flow

The power of Kubernetes with the ease of Heroku! Our playbook for migrating from Heroku to Control Plane, controlplane.com, and our cpflow CLI source
Other
43 stars 2 forks source link

Scale to zero and scale to one hooks for serverless workloads (can scale to zero) #188

Open justin808 opened 5 months ago

justin808 commented 5 months ago

Great that we scale rails to zero replicas with no traffic and start replica once traffic.

We need hooks to pause or start the other workloads, like sidekiq, pg, redis, Memcached, etc.

Not sure on what best name would be...

justin808 commented 5 months ago

@rafaelgomesxyz says we would need to have the gem in the gemfile and cpln. Why?

justin808 commented 4 weeks ago

@rafaelgomesxyz what is your reason here? @iguanus @dzirtusss are we able to easily scale to zero? Can we document this? Do we use this to save on costs for review apps?