0Pricing
Helm Academy · Lesson

Keeping History with --keep-history

Preserving revision records after uninstall.

Keeping History with --keep-history is a free Helm Academy lesson on CoddyKit — lesson 4 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Helm Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

Why Keep History

Sometimes you want to remove a release but keep its records, so you can roll back later. That is what --keep-history is for. 📜

Add It to uninstall

You pass --keep-history as a flag on helm uninstall to preserve the release's revision records.

helm uninstall my-nginx --keep-history

Resources Still Go Away

The Kubernetes objects are still deleted. Only the history of revisions is kept in Helm's storage.

A Lingering uninstalled State

The release now shows the uninstalled status instead of disappearing entirely from Helm's records.

See It with --all

A plain helm list hides it, but helm list --all reveals the uninstalled release still on record.

helm list --all

Inspect the Saved History

Run helm history on the release name to see the revisions that were preserved by keep-history.

helm history my-nginx

Roll Back to Restore

Because the records remain, helm rollback can bring the release back from a kept revision.

helm rollback my-nginx 1

The Name Stays Reserved

While history is kept, that release name is taken. A fresh helm install with the same name will conflict.

Fully Remove Later

To finally clear the kept records, run helm uninstall again without the flag to drop the history for good.

helm uninstall my-nginx

When to Reach for It

Use --keep-history when retiring something you might need to restore, like before a risky migration. 🛟

Default Is Forget

Remember, without the flag uninstall deletes history. --keep-history is the deliberate choice to remember.

Quick Check

Let us confirm what keep-history actually preserves.

Recap

--keep-history removes resources but saves revisions; the release shows as uninstalled and can be rolled back or fully removed later. ✅

Frequently asked questions

Is the “Keeping History with --keep-history” lesson free?

Yes — the full text of “Keeping History with --keep-history” is free to read here on the web, and the Helm Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Helm Academy course, upgrade to CoddyKit PRO.

What will I learn in “Keeping History with --keep-history”?

Preserving revision records after uninstall. You practise Helm Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start Helm Academy?

No prior experience is required. Helm Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 4 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “Keeping History with --keep-history” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this Helm Academy lesson?

Yes. Every Helm Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. See Everything with helm list
  2. Reading helm status Output
  3. Clean Removal with helm uninstall
  4. Keeping History with --keep-history
← Back to Helm Academy