View run_sysbench.py
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
import argparse | |
import subprocess | |
""" | |
Try running | |
python3 run_sysbench.py -t cpu -r 2 -n 10000 --threads 12 --time 0 --events 1000 | |
OR | |
sysbench fileio --file-total-size=6G prepare |
View install_kubectl_coreos.sh
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
# Run from a Coreos user's home directory | |
set -e | |
curl -O https://storage.googleapis.com/kubernetes-release/release/v1.6.1/bin/linux/amd64/kubectl | |
chmod +x kubectl | |
sudo mv kubectl /opt/bin | |
toolbox dnf -y install bash-completion | |
echo "source /var/lib/toolbox/test-fedora-latest/usr/share/bash-completion/bash_completion" >> ~/.bashrc | |
echo "source <(kubectl completion bash)" >> ~/.bashrc |