- Kubernetes on AWS
- Ed Robinson
- 268字
- 2021-06-10 18:41:26
Starting Minikube
Once you have got minikube and your chosen virtualization tool installed, we can use it to build and start a local Kubernetes cluster.
If you choose to use minikube tool's default settings, doing so couldn't be simpler. Just run:
minikube start
You should then see some output, similar to the following:
Starting local Kubernetes v1.10.0 cluster... Starting VM... Getting VM IP address... Moving files into cluster... Setting up certs... Connecting to cluster... Setting up kubeconfig... Starting cluster components... Kubectl is now configured to use the cluster.
minikube start has many options that can be used to configure the cluster that is launched. Try running minikube help start to find out what you can customize.
You might want to set --cpus and/or --memory to customize how much of your computer's resources are used for the Minikube VM.
Assuming that everything went as expected, that's it; you should have a cluster installed and running on your local machine.
The minikube start command creates a kubectl context pointing to the API server running within the Minikube VM, and is correctly configured with a user that will allow access to Kubernetes.
As you progress through this book, you will of course want to add additional contexts in order to connect to remote clusters that you many have set up. You should be able to switch back to the minikube context whenever you want to use minikube by running the following command:
kubectl config use-context minikube
- 西門子S7-200 SMART PLC從入門到精通
- 大數據改變世界
- 流處理器研究與設計
- 嵌入式Linux上的C語言編程實踐
- Python Data Science Essentials
- 深度學習中的圖像分類與對抗技術
- 數據庫原理與應用技術
- 大型數據庫管理系統技術、應用與實例分析:SQL Server 2005
- Google SketchUp for Game Design:Beginner's Guide
- Python:Data Analytics and Visualization
- HTML5 Canvas Cookbook
- 智能生產線的重構方法
- 傳感器與自動檢測
- 智能+:制造業的智能化轉型
- EJB JPA數據庫持久層開發實踐詳解