Kubernetes Installation on desktop debian
Step 4:
Manage the docker in non root mode
https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user
I just had to add my user to existing docker group using
sudo usermod -aG docker $USER and then reload the groups using
newgrp docker Step 5: Start minikube
I was able to run
minikube start
😄 minikube v1.23.2 on Debian 11.1
✨ Automatically selected the docker driver
👍 Starting control plane node minikube in cluster minikube
🚜 Pulling base image ...
💾 Downloading Kubernetes v1.22.2 preload ...
> preloaded-images-k8s-v13-v1...: 511.84 MiB / 511.84 MiB 100.00% 10.70 Mi
> gcr.io/k8s-minikube/kicbase: 355.40 MiB / 355.40 MiB 100.00% 4.44 MiB p/
🔥 Creating docker container (CPUs=2, Memory=2200MB) ...
🧯 Docker is nearly out of disk space, which may cause deployments to fail! (90% of capacity)
💡 Suggestion:
Try one or more of the following to free up space on the device:
1. Run "docker system prune" to remove unused Docker data (optionally with "-a")
2. Increase the storage allocated to Docker for Desktop by clicking on:
Docker icon > Preferences > Resources > Disk Image Size
3. Run "minikube ssh -- docker system prune" if using the Docker container runtime
🍿 Related issue: https://github.com/kubernetes/minikube/issues/9024
🐳 Preparing Kubernetes v1.22.2 on Docker 20.10.8 ...
▪ Generating certificates and keys ...
▪ Booting up control plane ...
▪ Configuring RBAC rules ...
🔎 Verifying Kubernetes components...
▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
🌟 Enabled addons: default-storageclass, storage-provisioner
🏄 Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
Comments
Post a Comment