Last active
October 26, 2025 13:58
-
-
Save b23prodtm/eb3fdbb2bc68958974326569aa889cb4 to your computer and use it in GitHub Desktop.
Minikube desktop launcher
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Following container runner for CircleCI; it may be run multiple times since it un install itself | |
| helm uninstall container-agent -n circleci | |
| kubectl create namespace circleci | |
| # envoy gateway | |
| kubectl apply --server-side -f https://github.com/envoyproxy/gateway/releases/download/latest/install.yaml --force-conflicts | |
| kubectl wait --timeout=5m -n envoy-gateway-system deployment/envoy-gateway --for=condition=Available | |
| # runner agent | |
| helm install container-agent container-agent/container-agent -n circleci -f values.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| KUBE_DRIVER=podman | |
| notify-send () { | |
| if [ "$(command -v kdialog)" > /dev/null ]; then | |
| kdialog --passivepopup "$@" 2 | |
| else | |
| zenity --notification --text="$1" --title="$2" | |
| fi | |
| } | |
| notify-send "$(minikube version)" "Minikube dashboard" | |
| if [ "$(minikube status | grep host | awk '{ print $2; }' 2> /dev/null)" = "Running" ]; then | |
| notify-send "starting now" "Minikube dashboard" | |
| minikube dashboard | |
| else | |
| notify-send "First start minikube" "ERROR" | |
| fi | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Desktop Entry] | |
| Comment[fr_FR]=Project-Id-Version: update-desktop-files\nReport-Msgid-Bugs-To: \nPO-Revision-Date: 2022-03-03 12:12+0000\nLast-Translator: Sophie Leroy <[email protected]>\nLanguage-Team: French <https://l10n.opensuse.org/projects/desktop-file-translations/update-desktop-files-apps-master/fr/>\nLanguage: fr\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\nPlural-Forms: nplurals=2; plural=n > 1;\nX-Generator: Weblate 4.9.1\n | |
| Comment=Project-Id-Version: update-desktop-files\nReport-Msgid-Bugs-To: \nPO-Revision-Date: 2022-03-03 12:12+0000\nLast-Translator: Sophie Leroy <[email protected]>\nLanguage-Team: French <https://l10n.opensuse.org/projects/desktop-file-translations/update-desktop-files-apps-master/fr/>\nLanguage: fr\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\nPlural-Forms: nplurals=2; plural=n > 1;\nX-Generator: Weblate 4.9.1\n | |
| Exec=/home/brkto/Bureau/minikube/dashboard.sh | |
| GenericName[fr_FR]= | |
| GenericName= | |
| Icon=/home/brkto/Bureau/minikube/icon.png | |
| MimeType= | |
| Name[fr_FR]=MiniKube Dashboard | |
| Name=MiniKube Dashboard | |
| Path=/home/brkto/Bureau/minikube | |
| StartupNotify=true | |
| Terminal=true | |
| TerminalOptions= | |
| Type=Application | |
| Version=1.0 | |
| X-KDE-SubstituteUID=false | |
| X-KDE-Username= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Desktop Entry] | |
| Version=1.0 | |
| Type=Application | |
| Name=MiniKube start-and-stop | |
| Exec=/home/brkto/Bureau/minikube/onoff.sh | |
| Icon=/home/brkto/Bureau/minikube/icon.png # Optional: specify an icon | |
| Terminal=true | |
| Comment=Project-Id-Version: update-desktop-files\nReport-Msgid-Bugs-To: \nPO-Revision-Date: 2022-03-03 12:12+0000\nLast-Translator: Sophie Leroy <[email protected]>\nLanguage-Team: French <https://l10n.opensuse.org/projects/desktop-file-translations/update-desktop-files-apps-master/fr/>\nLanguage: fr\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\nPlural-Forms: nplurals=2; plural=n > 1;\nX-Generator: Weblate 4.9.1\n | |
| Path=/home/brkto/Bureau/minikube | |
| StartupNotify=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| KUBE_DRIVER=podman | |
| notify-send () { | |
| if [ "$(command -v kdialog)" > /dev/null ]; then | |
| kdialog --passivepopup "$@" 2 | |
| else | |
| zenity --notification --text="$1" --title="$2" | |
| fi | |
| } | |
| notify-send "$(minikube version)" "Minikube version" | |
| if [ "$(minikube status | grep host | awk '{ print $2; }' 2> /dev/null)" = "Running" ]; then | |
| notify-send "stopping now" "minikube" | |
| output=$(minikube stop) | |
| notify-send "$output" "minikube was stopped" | |
| else | |
| notify-send "starting now..." "minikube" | |
| export NO_PROXY=localhost,127.0.0.1,10.96.0.0/12,192.168.59.0/24,192.168.49.0/24,192.168.39.0/24 | |
| minikube "$KUBE_DRIVER-env" NO_PROXY | |
| minikube ssh -- "echo 'nameserver 8.8.8.8' | sudo tee -a /etc/resolv.conf" | |
| output=$(minikube start --driver="$KUBE_DRIVER" 2>&1) | |
| notify-send "$output" "minikube was started" | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| agent: | |
| ssh: | |
| enabled: true | |
| resourceClasses: | |
| b23prodtm/linux: | |
| token: <token> |
Author
b23prodtm
commented
Apr 18, 2025

Author
- Install minikube
- Also deploy a dashboard
- Using kubernetes, you can deploy Continous Integration builds on Github projects with CircleCI and kubernetes container runner, installation follow this guide
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment