# kubectl

## Installing plugins

```bash
mkdir ~/.kubectl-plugins
export PATH=$PATH:~/.kubectl-plugins
```

`ctx`

```bash
curl -O https://raw.githubusercontent.com/weibeld/kubectl-ns/master/kubectl-ns
chmod +x kubectl-ns
mv kubectl-ns ~/.kubectl-plugins/kubectl-ns
```

`ns`

```bash
curl -O https://raw.githubusercontent.com/weibeld/kubectl-ctx/master/kubectl-ctx
chmod +x kubectl-ctx
mv kubectl-ctx ~/.kubectl-plugins/kubectl-ctx
```
