Skip to content

Instantly share code, notes, and snippets.

View nroypf's full-sized avatar

nroy nroypf

  • Power Factors
View GitHub Profile
@nroypf
nroypf / kubedump.sh
Created March 21, 2021 17:07 — forked from negz/kubedump.sh
Dump Kubernetes cluster resources as YAML
#!/usr/bin/env bash
set -e
CONTEXT="$1"
if [[ -z ${CONTEXT} ]]; then
echo "Usage: $0 KUBE-CONTEXT"
exit 1
fi