Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
| #!/usr/bin/python | |
| import os | |
| import subprocess | |
| import time | |
| import yaml | |
| import re | |
| user_name = os.environ.get("DOCKERHUB_USER") |
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com, example2.com, and example1.com/images on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
| wget http://stedolan.github.io/jq/download/linux64/jq | |
| aws ec2 describe-instances --filters "Name=tag:Name,Values=$NAME" \ | |
| "Name=instance-state-name,Values=running" \ | |
| | jq -r \ | |
| ".Reservations[] | .Instances[] | .InstanceId" \ | |
| aws ec2 describe-volumes --filters \ | |
| "Name=status,Values=available" \ | |
| | jq -r ".Volumes[] | .VolumeId" \ |
| #/bin/bash | |
| sudo yum install unzip wget perl-Switch perl-DateTime perl-Sys-Syslog perl-LWP-Protocol-https perl-Digest-SHA -y | |
| wget -O ~ec2-user/CloudWatchMonitoringScripts-1.2.1.zip http://aws-cloudwatch.s3.amazonaws.com/downloads/CloudWatchMonitoringScripts-1.2.1.zip | |
| cd ~ec2-user && unzip CloudWatchMonitoringScripts-1.2.1.zip | |
| chown ec2-user:ec2-user ~ec2-user/aws-scripts-mon | |
| rm CloudWatchMonitoringScripts-1.2.1.zip | |
| crontab -l > ~ec2-user/mycron | |
| echo "*/5 * * * * ~ec2-user/aws-scripts-mon/mon-put-instance-data.pl --disk-space-util --disk-path=/ --from-cron" >> ~ec2-user/mycron | |
| echo "*/5 * * * * ~ec2-user/aws-scripts-mon/mon-put-instance-data.pl --mem-used --mem-avail --swap-used" >> ~ec2-user/mycron | |
| crontab ~ec2-user/mycron |
This document is a list with video playlists from recent conferences on DevOps, WebOps, SRE, Systems administration, Monitoring, Building and Scaling Highly available sytems, apps and websites.