Question

pausing a kubernetes cluster like a droplet can be paused

Is it possible to pause a kubernetes cluster instead of just destroying them and remaking them? I believe is a good option for testing without incurring on too many costs.


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

jarland
DigitalOcean Employee
DigitalOcean Employee badge
March 26, 2019
Accepted Answer

Greetings!

This is not currently possible. I may have a different view than others, but I’ve always seen containers as being at their best when they are expendable. For example, an app server that deploys from a git repo and can be spun up on demand, then removed without harm. Perhaps it pulls content from object storage, allowing you to only pay to store the content when no app servers are deployed. Obviously use cases vary.

I also want to note that this is not possible with other droplets, so that I make sure you are not billed anything that you were not intending to be billed. While you can power a droplet off, this does not halt billing as we continue to reserve the physical compute resources, allowing you to power on the droplet at any time without having to migrate it to available hardware. However, you can reduce the billing of a droplet by taking a snapshot and then destroying the droplet. This is billed at $0.05 per GB, per month, for the snapshot.

Jarland

I agree on this one, for example, I have playground, where I like to practice microservices with kafka, k8s etc… but It’s not possible to do that everyday, so I like to pause the kubernetes cluster, when I’m not using it… otherway, it’s charges like hell… of coursing i’m paying to 3rd party service online, cuz i like to see things in proto-production way, and not locally, where I’m limited with memory, cpu etc…

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel