Skip to content

Commit d71bbad

Browse files
committed
Add run dashboard
1 parent 3c50ffd commit d71bbad

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tools/dashboard/run_dashboard.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
sudo apt -y install htop ruby
2+
sudo gem install tmuxinator
3+
sudo wget https://raw.githubusercontent.com/tmuxinator/tmuxinator/master/completion/tmuxinator.bash -O /etc/bash_completion.d/tmuxinator.bash
4+
tmuxinator new dashboard
5+
cat <<-EOF > ~/.config/tmuxinator/dashboard.yml
6+
name: dashboard
7+
root: ~/
8+
windows:
9+
- crs:
10+
layout: tiled
11+
panes:
12+
- watch sudo virsh list --all
13+
- watch kubectl get bmh -A
14+
- watch kubectl get machine -A
15+
- htop
16+
- watch kubectl get pods -A -o wide
17+
EOF
18+
tmuxinator start dashboard

0 commit comments

Comments
 (0)