我一直kubectl有很多空間不足的問題。如何增加分配給的默認存盤大小docker?
minikube 的建議都沒有奏效。
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
第二個是不可能從命令列...
uj5u.com熱心網友回復:
考慮您的評論
當我嘗試在集群上部署 nginx 時出現 ImagePullBackOff – Caterina
您可以單獨指定 minikube 的磁盤分配:
minikube start --memory=8192 --cpus=4 --disk-size=50g
這可以幫助您解決磁盤空間問題,因為默認值要小得多: --disk-size string Disk size allocated to the minikube VM (format: <number>[<unit>], where unit = b, k, m or g). (default "20000mb")
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/431108.html
標籤:码头工人 Kubernetes kubectl 迷你库贝
