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 | |
| # | |
| # Homelab Dashboard TUI | |
| # Interactive port-forward manager for cluster dashboards. | |
| # | |
| # Usage: ./dashboards | |
| # ↑/↓ Navigate | |
| # Enter Connect & open in browser | |
| # q/Esc Quit (closes all port-forwards) | |
| # |
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
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: kafka-broker | |
| labels: | |
| app: kafka | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: |
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
| #!/bin/bash | |
| # Log script activity (https://serverfault.com/a/103569) | |
| exec 3>&1 4>&2 | |
| trap 'exec 2>&4 1>&3' 0 1 2 3 | |
| exec 1>/var/log/init-background.log 2>&1 | |
| set -x | |
| # Add any installations or configurations here that the scenario may need | |
| # |
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
| # Web Search | |
| This starts a scenario and attempts to complete the actions | |
| ## Exercise nginx scenario | |
| * Start javajon scenario "kubernetes-applications/nginx" | |
| * Check intro | |
| * Check step 1 | |
| * Check step 2 |
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
| const { | |
| openBrowser, | |
| goto, | |
| text, | |
| click, | |
| closeBrowser | |
| } = require('taiko'); | |
| const headless = process.env.headless_chrome.toLowerCase() === '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
| # Reference source snippets | |
| [[snippets]] | |
| description = "Reference Cheat Sheet" | |
| command = "start https://kubernetes.io/docs/reference/kubectl/cheatsheet/" | |
| tag = ["reference"] | |
| output = "" | |
| # Setup snippets |