Cov txheej txheem:

Kuv yuav ntxiv Kubectl rau kuv txoj kev li cas?
Kuv yuav ntxiv Kubectl rau kuv txoj kev li cas?

Video: Kuv yuav ntxiv Kubectl rau kuv txoj kev li cas?

Video: Kuv yuav ntxiv Kubectl rau kuv txoj kev li cas?
Video: Kaab Muas - Kuv Txuj Kev Ntshaw (Hmong Christian) 2024, Kaum ib hlis
Anonim

Nov yog cov kauj ruam los teeb tsa kubectl ntawm Windows:

  1. Download tau kub .exe siv ib qhov txuas thiab txuag tus ua ntaub ntawv nyob rau hauv ib lub nplaub tshev ntawm windows file system.
  2. Ntxiv cov kubectl .exe folder qhov chaw nyob hauv txoj kev variable - "Advanced System Settings -> Advanced -> Ib puag ncig Variables -> Txoj kev ”.

Ntawm no, kuv yuav ua li cas rau nruab qhov tshwj xeeb version ntawm Kubectl?

Install kubectl ntawm Linux Mus download tau a tshwj xeeb version , hloov lub $(curl -s kub - tso tawm / tso tawm /stable.txt) ib feem ntawm cov lus txib nrog rau tshwj xeeb version . Ua tus kubtl ua binary executable. Txav mus rau binary rau hauv koj txoj kev.

Koj tuaj yeem kuaj xyuas seb Kubernetes tau teeb tsa li cas? Ua ntej, nrhiav qhov version ntawm Kubernetes tab tom khiav hauv koj pawg. Qhov no tuaj yeem pom hauv tus Universal Control Plane dashboard los yog ntawm tus UCP API endpoint version. Koj tuaj yeem nrhiav tau cov Kubernetes version siv tus Docker CLI. Koj yuav tsum tau muab tus neeg siv khoom pob thiab ntaus tus docker version hais kom ua.

Dhau li ntawd, nrhiav tsis tau Kubectl executable nyob rau hauv txoj kev?

Thaum koj paub tseeb tias kubtl ua yog ntsia, ces ntxiv C:Program Files (x86) rau koj PATH thiab koj yuav tsum ua zoo. Yog tias koj nyob ntawm Windows 10, koj ua tau uas yog mus Hais kom ua Ua ntej, nrhiav qhov System, nyem rau hauv System. Rau koj qhov teeb meem, koj xav nruab kubtl ua hauv qhov rais, tab sis tau txais qhov yuam kev.

Kubelet yog dab tsi?

Cov kub yog lub luag hauj lwm rau kev tuav ib txheej ntawm pods, uas yog tsim los ntawm ib los yog ntau lub thawv, nyob rau hauv ib lub zos system. Nyob rau hauv lub Kubernetes pawg, lub kub ua haujlwm raws li tus neeg sawv cev hauv zos uas saib xyuas pod specs ntawm Kubernetes API server.

Pom zoo: