bash completion
This commit is contained in:
parent
8488dd4e0d
commit
33e14f5424
11
README.md
11
README.md
@ -1,3 +1,4 @@
|
||||
* [kubectl - BASH autocompletion](#kubectl-bash-autocompletion)
|
||||
* [Install k3s](#install-k3s)
|
||||
* [Configure upstream DNS-resolver](#upstream-dns-resolver)
|
||||
* [Change NodePort range](#nodeport-range)
|
||||
@ -27,6 +28,16 @@
|
||||
* [Running DaemonSets on `hostPort`](#running-daemonsets)
|
||||
* [Running StatefulSet with NFS storage](#running-statefulset-nfs)
|
||||
|
||||
# kubectl - BASH autocompletion <a name="user-content-kubectl-bash-autocompletion"></a>
|
||||
For current shell only:
|
||||
```
|
||||
source <(kubectl completion bash)
|
||||
```
|
||||
Persistent:
|
||||
```
|
||||
echo "source <(kubectl completion bash)" >> ~/.bashrc
|
||||
```
|
||||
|
||||
# Install k3s <a name="user-content-install-k3s"></a>
|
||||
https://k3s.io/:
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user