todd-dsm / mac-ops

QnD Automation to build a MacBook Pro for DevOps
MIT License
11 stars 7 forks source link

Install Krew Plugins #64

Open todd-dsm opened 2 years ago

todd-dsm commented 2 years ago

Krew is the plugin manager for kubectl command-line tool; the plugins catalog.

Example: kube-capacity

brew tap robscott/tap
brew install robscott/tap/kube-capacity

Equivalent to kubectl krew install resource-capacity

Follow the remainder of the docs for usage instructions.

todd-dsm commented 2 years ago

fixed in commit: 14a39b9934214c210983d15424efefca8125b9a9

todd-dsm commented 2 years ago

Forgot to install krew itself...

brew install krew

todd-dsm commented 2 years ago
# search for Krew plugin                                                           
kubectl-krew search resource                                                       

# install                                                                          
kubectl-krew install resource-capacity                                             

# run it                                                                           
kube-capacity