1.4 KiB
1.4 KiB
title, tags
title | tags | ||||
---|---|---|---|---|---|
Kubernetes Setup |
|
Install minikube
Set up a practice environment with minikube
, using either Docker or VirtualBox.
- Install the driver (VirtualBox is a good choice).
- Install
minikube
.- Debian requires manual installation.1
- Check it works.
The installation takes a long time.
# driver=docker
driver=virtualbox
minikube start --driver=${driver}
Check minikube
Check it's all running:
minikube kubectl -- get po -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-674b8bbfcf-l7582 1/1 Running 0 2m
kube-system etcd-minikube 1/1 Running 0 2m
kube-system kube-apiserver-minikube 1/1 Running 0 2m
kube-system kube-controller-manager-minikube 1/1 Running 0 2m
kube-system kube-proxy-4q977 1/1 Running 0 2m
kube-system kube-scheduler-minikube 1/1 Running 0 2m
kube-system storage-provisioner 1/1 Running 1 (2m ago) 2m
Uninstall minikube
du -sh ~/.minikube
Minikube is huge!
minikube stop
rm -rf ~/.minikube