Skip to content

Instantly share code, notes, and snippets.

View llhhbc's full-sized avatar

llhhbc llhhbc

  • Hangzhou, Zhejiang
  • 04:03 (UTC +08:00)
View GitHub Profile
@llhhbc
llhhbc / kubedump.sh
Created February 11, 2022 06:50 — 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