Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to deploy minikebe

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Xiaobian to share with you how minikebe deployment, I believe most people still do not know how to, so share this article for your reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!

Minikube is a Kubernetes rapid deployment tool for stand-alone deployment testing, different from Kubeadmin's cluster deployment method. The bottom layer supports KVM, virsualbox', vmwarefusion and xhyve. Of course, except for virsualbox, the rest are manually installed by themselves.

Before you begin

VT-x or AMD-v virtualization must be enabled in yourcomputer's BIOS.

Can this sentence not be translated? There should be no support now. Don't worry. Of course you have to remember to open it.

Installing a Hypervisor

Choose your virtualization type, virsualbox is my choice, you can also choose KVM

#wget http://download.virtualbox.org/virtualbox/5.1.22/virtualbox-5.1_5.1.22-115126~Ubuntu~xenial_amd64.deb

#dpkg -i virtualbox-5.1_5.1.22-115126~Ubuntu~xenial_amd64.deb

Dependency prompts may appear here, and you can install them according to dependencies.

Installing kubectl

· Install kubectl.

curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl

InstallingMinikube

·Different system choices are definitely different.

curl -Lo minikubehttps://storage.googleapis.com/minikube/releases/v0.19.0/minikube-linux-amd64 && chmod +xminikube && sudo mv minikube /usr/local/bin/

Okay, installation complete. You don't believe me? you run

minikube start

The return message is as follows

root@k8s:/opt# minikube start

Starting local Kubernetes v1.6.0 cluster...

Starting VM...

SSH-ing files into VM...

Setting up certs...

Starting cluster components...

Connecting to cluster...

Setting up kubeconfig...

Kubectl is now configured to use the cluster.

The above is "minikebe how to deploy" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report