Article · 2 min read · Getting started

kubespin: Delete or replace a server

A retired server goes for good once its last app has moved or been deleted. Schedules on its apps wait rather than fail.

Delete a server you still have

  1. Open the server, choose Manage, then Settings. Under Danger zone, choose Delete this server.
  2. If it has apps, choose what happens to them, then Delete the server:
    • Keep its apps to put on another server (the default). The server is retired: hidden from Servers, no longer contacted, and not counted against your plan. Its apps keep their settings, environment, secrets and history, and are marked Needs a server. Their data stays on the old machine.
    • Delete its apps too. You type the server’s name to confirm.

A retired server goes for good once its last app has moved or been deleted. Schedules on its apps wait rather than fail.

A server that vanished

A VM deleted at its provider, an ephemeral server taken back, a PC wiped: after 30 minutes without a report you’re told once, and its page shows when it was last heard from.

If it’s gone for good, choose It’s gone for good on its page, then Retire name and keep its apps. kubespin doesn’t try to contact the machine.

Put the apps on another server

On Deployments, Needs a server lists the apps whose server was retired. For each, choose Choose a server:

  • an app from Git fetches its code again;
  • a WordPress site is made again, with a new admin password, and a new generated name if it had one;
  • its data was on the old machine, so it starts empty. kubespin says so before anything happens.

To keep the data, move the app while the old server still answers: see kubespin: Move an app to another server.