k8s MiniKube local cluster on laptop
Links k8s/
Installation through debian packages https://minikube.sigs.k8s.io/docs/start/
$ minikube start
- Minikube addons
Enable ingress and local dns
minikube addons enable ingress minikube addons enable ingress-dns $ nslookup myservice.test $(minikube ip)
Convert docker to use overlay2 fs (only needed for btrfs) 2022
$ systemctl stop docker $ rm /var/lib/docker/* -rf $ echo STORAGE_DRIVER=overlay2 >> /etc/sysconfig/docker-storage-setup $ rm /etc/sysconfig/docker-storage $ systemctl start docker
Get NodePort to access app
minikube -n argocd service --url argocd-server kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo