This file contains 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 | |
set -e | |
source 0__base_include.sh | |
GREEN='\033[0;32m' | |
LB='\033[1;34m' # light blue | |
NC='\033[0m' # No Color | |
echo "############################################################################" | |
echo "Now deploying k3s cluster - ${CLUSTER_NAME} on multipass VMs" |
This file contains 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 | |
set -e | |
source 0__base_include.sh | |
nodeCount=2 | |
read -p "How many worker nodes do you want?(default:$nodeCount) promt with [ENTER]:" inputNode | |
nodeCount="${inputNode:-$nodeCount}" | |
cpuCount=4 | |
read -p "How many cpus do you want per node?(default:$cpuCount) promt with [ENTER]:" inputCpu | |
cpuCount="${inputCpu:-$cpuCount}" |
This file contains 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 | |
###################################################################### | |
# | |
# MONGODB backup script | |
# Notes - Use directory name to get date input instead of relying on file | |
# timestamp | |
# - Backup FIRST then remove older backups - if you don't have much | |
# space then you can reverse the process - but this ensure if failure | |
# occurs older backup will not get removed until fixed |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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/sh | |
# | |
# | |
#iMac:~ $ pmset -g | |
#System-wide power settings: | |
#Currently in use: | |
# hibernatemode 0 | |
# womp 0 |