Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramilito committed Dec 26, 2022
1 parent addbb3e commit f756602
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,14 +136,16 @@ knd #kube_namespace_default: Sets namespace across all shells
```

#### Multiple config files
We follow kubectl recommended way of adding multiconfig files found [here](https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/#create-a-second-configuration-file).
We have two ways of handling multiple config files, the first one is to use kubectl recommended way of adding multiconfig files found [here](https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/#create-a-second-configuration-file).
Example:
```
export KUBECONFIG=$HOME/.kube/config:$HOME/.kube/config-demo:$HOME/.kube/config-demo-2
```

> :Note: **The order is important*: the first file will be the master config!
The second way is to let Kubesess handle it by adding one or more .yaml files under the $HOME/.kube folder and it will be automatically merged.

#### Add information to prompt (there are other good tools for this, kube-ps1 and p10k)
```
prompt_context() {
Expand Down

0 comments on commit f756602

Please sign in to comment.