Minikube lets you simulate a cluster using virtualbox locally. It can be used to test and debug locally instead of the cloud.
These prerequisites that are required to run minikube are
- Docker
- kubectl
- virtualbox
| Fri Oct 6 22:47:37 UTC 2017 |
| rsync -aHAXxv --numeric-ids --delete --progress -e "ssh -T -c arcfour -o Compression=no -x" user@<source>:<source_dir> <dest_dir> |
| #!/bin/bash | |
| # Remove all containers | |
| docker rm $(docker ps -aq) | |
| # Remove all exited containers | |
| docker rm $(docker ps -aqf status=exited) | |
| #!/bin/bash | |
| # Remove all containers | |
| docker rm $(docker ps -aq) | |
| # Remove all exited containers | |
| docker rm $(docker ps -aqf status=exited) | |
| client = paramiko.SSHClient() | |
| client._policy = paramiko.WarningPolicy() | |
| client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) | |
| ssh_config = paramiko.SSHConfig() | |
| user_config_file = os.path.expanduser("~/.ssh/config") | |
| if os.path.exists(user_config_file): | |
| with open(user_config_file) as f: | |
| ssh_config.parse(f) |
| 20164_MUS_6125_01_1 | |
| 2017-03-23 03:21:15 -0700 - Executed archive for 20164_MUS_6125_01_1 to /tmp/cloud_team/files/ | |
| 2017-03-23 03:21:15 -0700 - Operation output: | |
| 2017-03-23 03:21:15 -0700 - ****************************************************************************** | |
| 2017-03-23 03:21:15 -0700 - Mar 23, 2017 3:21:15 AM - Status: The operation archive has completed. | |
| 2017-03-23 03:21:15 -0700 - ****************************************************************************** | |
| 2017-03-23 03:21:15 -0700 - Fatal: A fatal error that prevents processing from continuing has occurred. The reason for the error is: | |
| A course with the specified Course ID can not be found. | |
| #!/bin/bash | |
| # needs to be run as root | |
| # how to execute | |
| # bash script.sh action clientid OPS-#### email@address.com | |
| #ACTION='archive' | |
| #CLIENTID='57c93be5643d6' |
| #!/bin/bash | |
| # Script Created for Corey Lewis | |
| # Description: | |
| ## This script will disable the alerts for Operations and LB team. | |
| ## Then it will restart this application server | |
| ## Its based on the CRON and it will ideally be run at 7PM CST (Server time) | |
| ## It will documenet everything and then enable the alerts | |
| ## Finally it will send an email when it completes | |
| ## For documentation purposes we will save all the logs as well. |
| #!/bin/bash | |
| # this will accept one parameter which is the course ids file list | |
| # then it will go over that list of courses and validating if the course-copy folder exists in it | |
| # finally it will display the information | |
| while read -r line; do | |
| #echo "Text read from file: $line" | |
| if [ ! -d "/usr/local/blackboard/content/vi/BBLEARN/courses/1/$line/course-copy/" ]; then | |
| # Control will enter here if $DIRECTORY doesn't exist. | |
| echo "$line does not contain course-copy directory" |