Skip to content

A simple kubectl plugin that allows to create/apply Kubernetes resources directly from editor.

License

Notifications You must be signed in to change notification settings

turkenh/kubectl-applythis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

kubectl-applythis

A simple kubectl plugin that allows to create/apply Kubernetes resources directly from editor.

Installation

# Download the release archieve.
curl -fsSL https://github.com/turkenh/kubectl-applythis/releases/download/v0.1.0/kubectl-applythis-v0.1.0.tar.gz | tar -xz
# Move it as a kubectl plugin
sudo mv kubectl-applythis/applythis /usr/local/bin/kubectl-applythis
# Clean up
rm -rf kubectl-applythis

Usage

  kubectl applythis

This will open the editor defined by your KUBE_EDITOR, or EDITOR environment variables, or fall back to 'vi'. Once text editor opens, enter/paste your yaml and save the file. It will be applied to your Kubernetes cluster.

applythis.mp4

About

A simple kubectl plugin that allows to create/apply Kubernetes resources directly from editor.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages