Skip to content

Instantly share code, notes, and snippets.

View ppawiggers's full-sized avatar

Peter Wiggers ppawiggers

  • Amsterdam, The Netherlands
View GitHub Profile
@ppawiggers
ppawiggers / backup-kubernetes-manifests.py
Last active February 12, 2023 15:10
A simple Python script to backup all Kubernetes resource manifests in your cluster
import json
import subprocess
from dataclasses import dataclass
from pathlib import Path
from typing import Set
MANIFESTS_PATH = "exported-manifests"