Cov txheej txheem:

Kuv yuav khiav Minikube li cas?
Kuv yuav khiav Minikube li cas?

Video: Kuv yuav khiav Minikube li cas?

Video: Kuv yuav khiav Minikube li cas?
Video: Tagkis Yuav Zoo Li Cas - Cover Nyaj Xuv Xyooj (Hmoob) 2024, Kaum ib hlis
Anonim

Pib nrawm

  1. Pib Minikube thiab tsim ib pawg:
  2. Tam sim no, koj tuaj yeem cuam tshuam nrog koj pawg siv kubectl.
  3. Nkag mus nyob zoo- mini kub Kev xa tawm, nthuav tawm nws raws li Kev Pabcuam:
  4. Nyob zoo- mini kub Pod tau pib tam sim no tab sis koj yuav tsum tau tos kom txog thaum Pod tau nce ua ntej nkag mus rau nws ntawm Kev Pabcuam raug.

Kuj nug, koj siv Minikube li cas?

Yuav Siv Minikube li cas los tsim Kubernetes Pawg thiab xa cov ntawv thov

  1. Kauj ruam 1: Minikube Installation. Download tau qhov tseeb tso tawm nrog cov lus txib.
  2. Kauj ruam 2: Kubectl Installation.
  3. Kauj Ruam 3: Tsim Ib Pawg Hauv Zos.
  4. Kauj ruam 4: Deploy ngnix App rau Ib qho ntawm Cov Nodes ntawm Pawg.
  5. Kauj ruam 5: Tshem tawm ngnix App sab nraum pawg.

Ib yam li ntawd, Minikube puas xav tau Docker? Txhim kho Hypervisor Note: Minikube kuj txhawb nqa ib tug --vm-driver = tsis muaj kev xaiv uas khiav cov Kubernetes cov khoom ntawm tus tswv tsev thiab tsis nyob hauv VM. Siv tus tsav tsheb no xav tau Docker thiab ib puag ncig Linux tab sis tsis yog hypervisor. Nws yog pom zoo kom siv lub apt installation ntawm docker los ntawm Docker , thaum siv tsis muaj tus tsav tsheb.

Ib yam li ntawd, nws tau nug, Kuv yuav khiav Kubernetes hauv zos li cas?

Enabling lub Kubernetes hauv zos pawg Nyem lub Docker icon hauv qhov xwm txheej bar, mus rau "Preferences", thiab ntawm " Kubernetes " -tab, kos "Enable Kubernetes ”. Qhov no yuav pib ib leeg xwb Kubernetes pab nias rau koj lawm thiab nruab tus kub hais kom ua kab utility.

Kuv yuav khiav Minikube ntawm VirtualBox li cas?

Nruab minikube rau Windows Ib zaug mini kub yog ntsia, rau pib nws, ntaus hauv ' mini kub .exe ua pib -vm-driver = virtualbox ”. Qhov no yuav download tau thiab nruab ib leeg Kubernetes pawg. Tej zaum nws yuav siv sij hawm ib pliag rau kev teeb tsa kom tiav. Minikube tuaj yeem siv los kawm Kubernetes thiab ua si nrog nws.

Pom zoo: