Cov txheej txheem:

Kubernetes node yog dab tsi?
Kubernetes node yog dab tsi?

Video: Kubernetes node yog dab tsi?

Video: Kubernetes node yog dab tsi?
Video: Kubernetes CKA Practice Question - Worker node kubelet troubleshooting 2024, Kaum ib hlis
Anonim

A node yog lub tshuab ua haujlwm hauv Kubernetes , yav tas los hu ua minion. A node tej zaum yuav yog VM lossis lub tshuab lub cev, nyob ntawm cov pawg. Txhua node muaj cov kev pabcuam tsim nyog los khiav cov pods thiab tswj hwm los ntawm cov khoom siv tswv. Cov kev pabcuam ntawm a node suav nrog lub thawv runtime, kubelet thiab kube-proxy.

Kuj paub, koj ua li cas tsim cov node hauv Kubernetes?

Ntxiv Nodes Ntxiv rau Cov Cluster uas twb muaj lawm

  1. Kauj ruam 1 - Pib Cluster. Cov lus txib hauv qab no yuav pib ua pawg nrog lub cim paub kom yooj yim rau cov kauj ruam hauv qab no.
  2. Kauj ruam 2 - Ntxiv Node. Thaum tus Xib Hwb tau pib, cov nodes ntxiv tuaj yeem koom nrog pawg ntev npaum li lawv muaj qhov token raug.
  3. Kauj Ruam 3 - Siv CNI.
  4. Kauj ruam 4 - Tau qhov xwm txheej.

Kuj Paub, Kubernetes yog dab tsi hauv cov lus yooj yim? Kubernetes yog ib qho kev tswj xyuas cov ntawv thov ntim thoob plaws ib pawg ntawm cov nodes. Hauv cov ntsiab lus yooj yim , koj muaj ib pab pawg ntawm cov cav tov (xws li VMs) thiab ntim cov ntawv thov (xws li Dockerized applications), thiab Kubernetes yuav pab tau koj kom yooj yim tswj cov apps hla cov tshuab ntawd.

Tsis tas li cov lus nug yog, Kubernetes Master puas tuaj yeem ua tus node?

3 thiab yuav muaj nyob rau hauv 1.1 thaum nws nkoj), lub tswv node yog tam sim no ib qho ntawm cov muaj nodes hauv pawg thiab koj ua tau teem caij pods rau nws ib yam li lwm yam node hauv pawg . Ib lub thawv docker ua tau tsuas yog teem caij rau a kubernetes node khiav kubelet (dab tsi koj hu ua minion).

Kuv xav tau pes tsawg Kubernetes nodes?

Vim li no, Kubernetes pom zoo kom ntau tshaj 110 pods ib node . Txog rau tus lej no, Kubernetes tau raug sim los ua haujlwm ntseeg siab ntawm ntau yam node hom.

Pom zoo: