Skip to content

Instantly share code, notes, and snippets.

View trunknx's full-sized avatar
🏠
Working from home

Trung Nguyen trunknx

🏠
Working from home
View GitHub Profile
@trunknx
trunknx / 1_kubernetes_on_macOS.md
Created May 30, 2019 09:30 — forked from kevin-smets/1_kubernetes_on_macOS.md
Local Kubernetes setup on macOS with minikube on VirtualBox and local Docker registry

Requirements

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!

Prerequisites

#Osx
config dir: /usr/local/etc/redis.conf
db dif: /usr/local/var/db/
STOP REDIS : brew services stop redis
START REDIS: brew services start redis
#Ubuntu
config dir: /etc/redis/redis.conf
db dif: /var/lib/redis
STOP REDIS : sudo systemctl stop redis
START REDIS: sudo systemctl start redis