Minikube with Hyperkit

Minikube is local Kubernetes, focusing on making it easy to learn and develop for Kubernetes.

Install minikube

Start Minikube with Hyperkit

brew install hyperkit
https://anote.dev/minikube-101/

Start Minikube with Hyperkit

minikube start --driver=hyperkit
  • if you do not mention(VM Driver) like --driver=hyperkit, Minikube is installed on docker(VM Driver).
  • I personally prefer to the hyperkit VM driver because it is easy to test with networking.

Check Minikube Profiles

minikube profile list

# |----------|-----------|---------|--------------|------|---------|---------|-------|
# | Profile  | VM Driver | Runtime |      IP      | Port | Version | Status  | Nodes |
# |----------|-----------|---------|--------------|------|---------|---------|-------|
# | minikube | hyperkit  | docker  | 192.168.64.3 | 8443 | v1.20.0 | Running |     1 |
# |----------|-----------|---------|--------------|------|---------|---------|-------|

minikube ip
# 192.168.64.3

kubectl cluster-info
# Kubernetes master is running at https://192.168.64.3:8443
# KubeDNS is running at https://192.168.64.3:8443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy

Leave a Reply

Your email address will not be published.

ANOTE.DEV