8000 GitHub - cn246-admin/update-kubectl: Install or update kubectl on Linux or Mac
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Install or update kubectl on Linux or Mac

License

Notifications You must be signed in to change notification settings

cn246-admin/update-kubectl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Update kubectl

This script installs (or updates) kubectl.

Usage

My home directory structure looks like this:

$HOME
└─── .local
    ├── bin
    ├── lib
    │   ├── python
    │   ├── shell
    │   └── venv
    ├── man
    │   └── man1
    ├── share
    │   ├── doc
    │   ├── man
    │   └── ykman
    └── src
        ├── aws-cli
        ├── fzf
        └── lesspipe

Where $HOME/.local/bin is the first or second entry in $PATH depending if I'm running homebrew.

If your home directory structure differs, you can edit the variables at the top of the script to match your system.

Just run the script to install or update kubectl:

./update-kubectl.sh

Follow the directions for installing the tab auto completions:

About

Install or update kubectl on Linux or Mac

Topics

Resources

License

Stars

Watchers

Forks

Languages

0