Skip to content

Instantly share code, notes, and snippets.

@whitneygriffith
Last active July 21, 2022 23:08
Show Gist options
  • Save whitneygriffith/a3ac3a29fedc2ef8b24d9842ec40ea04 to your computer and use it in GitHub Desktop.
Save whitneygriffith/a3ac3a29fedc2ef8b24d9842ec40ea04 to your computer and use it in GitHub Desktop.
Hacks for programming kubernetes on mac
# Edit k8s objects in code with kube editor
export EDITOR='open -a "Visual Studio Code" --wait'
# Assuming code is in PATH
export KUBE_EDITOR='code --wait'
kubectl edit ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment