You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Copy the sample config ([config.sample.yaml](./config.sample.yaml))
44
43
45
44
```
46
-
cp config.sample.yaml config.yaml
45
+
cp config.sample.yaml ~/.kube-tmuxp.yaml
47
46
```
48
47
49
-
* Add your clusters to the copied config
50
-
* Generate kube configs and tmuxp configs
48
+
* Add your projects and clusters to the copied config
49
+
* Generate kubeconfigs and tmuxp configs
51
50
52
51
```
53
-
python kube_tmuxp.py config.yaml
52
+
kube-tmuxp gen
54
53
```
55
54
56
-
### Start a session
55
+
Default config path is `$HOME/.kube-tmuxp.yaml`. If you are using a different path, then use the `--config` flag to specify that path. Refer `kube-tmuxp --help` for more details.
56
+
57
+
## Start a session
57
58
58
59
```
59
60
tmuxp load my-context-name
@@ -63,4 +64,4 @@ Now you will be inside a `tmux` session preconfigured with Kubernetes context `m
63
64
64
65
## Limitations
65
66
66
-
*Generates kube configs for Kubernetes clusters (GKE) on Google Cloud Platform (GCP) only
67
+
*Currently works for Google Kubernetes Engine (GKE) only. However, it can be extended to work with any Kubernetes clusters. Feel free to submit a PR for this.
0 commit comments