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!
| package cmd | |
| import ( | |
| "bitbucket.org/cescoferraro/api/util" | |
| "github.com/fatih/color" | |
| "github.com/spf13/cobra" | |
| ) | |
| var ( | |
| logger = util.Block{ |
| // Generate airflow config to stdout. | |
| // To start service the from scratch, put this in src/airflow_config/airflow_config.go and run: | |
| // export GOPATH=$(pwd) | |
| // export PATH=$PATH:$GOPATH/bin | |
| // go get k8s.io/client-go/1.4/kubernetes | |
| // go install airflow_config | |
| // airflow_config prod > airflow-prod.yaml | |
| // airflow_config dev > airflow-dev.yaml | |
| // In dev: |
| # see https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/ | |
| # core | |
| brew install coreutils | |
| # key commands | |
| brew install binutils | |
| brew install diffutils | |
| brew install ed --default-names | |
| brew install findutils --with-default-names |
| #!/usr/bin/env python | |
| import sys | |
| import os | |
| import json | |
| import argparse | |
| import collections | |
| __description__ = """Ansible Dynamic Inventory for Terraform.""" | |
| __epilog__ = """ |
# uname -a
Linux base 4.0.5-gentoo #1 SMP Wed Jul 1 02:23:16 JST 2015 x86_64 Intel(R) Xeon(R) CPU E5-2640 0 @ 2.50GHz GenuineIntel GNU/Linux# emerge -pvq openldap openssh sssd sudo
[ebuild R ] net-nds/openldap-2.4.38-r2 USE="berkdb crypt gnutls ipv6 minimal sasl ssl syslog tcpd -cxx -debug -experimental -icu -iodbc -kerberos -odbc -overlays -perl -samba (-selinux) -slp -smbkrb5passwd" ABI_X86="(64) -32 (-x32)" # Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)The pricing should be ~3$ for the first year (assuming 30GB upload per month). See here for more details.
| #!/bin/bash | |
| USAGE="Attach to Docker Container | |
| -------------------------- | |
| Attach to Docker Container even if the container does not run | |
| ssh daemon. This is accomplished by using linux containers | |
| directly via 'nsenter' (see http://bit.ly/docker_nsenter). | |
| To install 'nsenter', just execute: | |
| $ docker run -v /usr/local/bin:/target jpetazzo/nsenter |