From e099f495cfc01c113dff9d4fea99f603631935dc Mon Sep 17 00:00:00 2001 From: mboukhalfa Date: Wed, 29 Jun 2022 16:31:03 +0300 Subject: [PATCH] Add run dashboard --- .vscode/settings.json | 3 +++ tools/dashboard/run_dashboard.sh | 17 +++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .vscode/settings.json create mode 100644 tools/dashboard/run_dashboard.sh diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..65e1ec078 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "makefile.extensionOutputFolder": "./.vscode" +} \ No newline at end of file diff --git a/tools/dashboard/run_dashboard.sh b/tools/dashboard/run_dashboard.sh new file mode 100644 index 000000000..16639fe2a --- /dev/null +++ b/tools/dashboard/run_dashboard.sh @@ -0,0 +1,17 @@ +sudo apt -y install htop ruby +sudo gem install tmuxinator +sudo wget https://raw.githubusercontent.com/tmuxinator/tmuxinator/master/completion/tmuxinator.bash -O /etc/bash_completion.d/tmuxinator.bash +tmuxinator new dashboard +cat <<-EOF > ~/.config/tmuxinator/dashboard.yml +name: dashboard +root: ~/ +windows: + - crs: + layout: tiled + panes: + - watch sudo virsh list --all + - watch kubectl get bmh -A + - watch kubectl get machine -A + - htop +EOF +tmuxinator start dashboard