aptos-core icon indicating copy to clipboard operation
aptos-core copied to clipboard

[Testnet Deployments] Support an idle/cheap testnet deployment mode.

Open JoshLind opened this issue 3 years ago • 1 comments

We're spawning up a lot of test networks. When we aren't actively using these testnets, it would be great to run the testnet in an idle state to avoid wasting resources (and money 😅). Even if it's just a significantly reduced deployment.

Note: the professionals among us might be able to do this by killing everything manually, but I worry that the steps required to revive the testnet might be too complicated for the n00bs (e.g., me). If they aren't, then maybe a runbook would be good 😄

JoshLind avatar May 02 '22 20:05 JoshLind

Forge CLI has something today where an operator (currently just me 😛 ) can manually spin down the cluster to its idle state. Basically uninstalls stuff and spins down the nodegroup size. Perhaps we can generalize that into a new testnet CLI tool?

Alternatively, if we have k8s cluster autoscaling (cc @geekflyer), we could just helm uninstall all the validators and fullnodes, and the cluster should take care of the rest

rustielin avatar May 02 '22 20:05 rustielin

This issue is stale because it has been open 45 days with no activity. Remove the stale label or comment - otherwise this will be closed in 15 days.

github-actions[bot] avatar Dec 18 '22 01:12 github-actions[bot]