ahmetb

ahmetb / etcdedit

Public

Directly edit Kubernetes resources stored in etcd

10
0
100% credibility
Found Mar 03, 2026 at 10 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Go
AI Summary

etcdedit is a command-line tool that lets users directly retrieve, edit, and update Kubernetes resources from etcd storage while bypassing the API server.

How It Works

1
🚨 Cluster in crisis

Your server cluster hits a snag deep in its core storage, and normal controls are offline.

2
🔍 Find the fix-it tool

You learn about etcdedit, a handy rescue tool for direct access to fix cluster storage.

3
📥 Grab the tool

You install it quickly on your computer so it's ready to use.

4
🔗 Link to storage

You point the tool to your cluster's core storage location and share the security details.

5
👁️ Spot the issue

You pull up the details of a specific item to see exactly what's broken.

6
🖊️ Make the repair

Your text editor opens the item's settings; you tweak what's needed and save the changes right into storage.

All fixed!

The cluster springs back to life, and you regain full control without any hassle.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 10 to 10 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is etcdedit?

etcdedit is a Go CLI tool that lets you directly edit Kubernetes resources stored in etcd, skipping the API server entirely. Use it to get, edit, or apply YAML manifests to exact etcd key paths like `/registry/pods/default/nginx`, with your editor of choice for in-place changes. It solves emergencies like recovering broken clusters or loading objects when kubectl fails.

Why is it gaining traction?

It stands out for surgical precision: edit launches vim (or $EDITOR), saves backups, checks concurrency, and auto-fixes metadata like names and UIDs to match etcd paths. No alternatives offer this direct etcd access with Kubernetes-aware encoding for protos and CRDs. Developers grab it from GitHub directly for fast recovery, like restoring cluster-admin bindings without API uptime.

Who should use this?

Kubernetes SREs fixing etcd inconsistencies after outages, cluster admins locked out of RBAC, or ops engineers stress-testing with bulk applies. Ideal for those comfortable with etcdctl endpoints and keys, not daily resource management.

Verdict

Grab etcdedit if you're in a pinch—solid docs and Homebrew support make it easy, but with only 10 stars and 1.0% credibility score, treat it as experimental. Test on non-prod first; version mismatches can drop fields.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.