Kubernetes txhawb nqa dab tsi?
Kubernetes txhawb nqa dab tsi?

Video: Kubernetes txhawb nqa dab tsi?

Video: Kubernetes txhawb nqa dab tsi?
Video: 1-K8s - Основы Kubernetes - Кубернетес на ОЧЕНЬ простом языке 2024, Hlis ntuj nqeg
Anonim

Docker yog qhov ntau tshaj plaws thawv runtime siv nyob rau hauv a Kubernetes Pods, tab sis Pods kev txhawb nqa lwm yam thawv runtime ib yam. Pods hauv a Kubernetes pawg tuaj yeem siv ob txoj hauv kev tseem ceeb: Pods uas khiav ib leeg thawv.

Ib yam li ib tug yuav nug, dab tsi yog lub thawv hauv Kubernetes?

Kubernetes (feem ntau stylized li k8s) yog qhov chaw qhib thawv -orchestration system rau automating daim ntawv thov xa mus, scaling, thiab tswj. Nws lub hom phiaj los muab lub "platform rau automating deployment, scaling, and operations of application thawv hla pawg ntawm cov tswv."

Qhov thib ob, qhov txawv ntawm POD thiab ntim khoom yog dab tsi? Pod yog ib chav ntawm kev xa tawm piv txwv li ib qho piv txwv ntawm daim ntawv thov. A pod tuaj yeem khiav ntawm ib leeg thawv los yog ntau yam thawv . Txhua pod muaj qhov tshwj xeeb IP chaw nyob muab rau nws. Yog a pod yog khiav ntawm ntau yam thawv , tiam thawv tuaj yeem sib txuas lus nrog ib leeg siv localhost.

Tsis tas li, Kubernetes puas tsim cov ntim khoom?

Piv txwv li, koj ua tau automate Kubernetes rau tsim tshiab thawv rau koj qhov kev xa tawm, tshem tawm uas twb muaj lawm thawv thiab txais yuav tag nrho lawv cov peev txheej rau qhov tshiab thawv . Koj muab Kubernetes nrog ib pawg ntawm cov nodes uas nws ua tau siv los khiav cov haujlwm ntim khoom.

Dab tsi yog qhov zoo hauv Kubernetes?

zoo khiav ib lub zos Kubernetes pawg los ntawm kev siv Docker ntim ua "nodes". zoo siv node-duab los khiav Kubernetes artifacts, xws li kubeadm los yog kubelet. Lub node-duab nyob rau hauv lem yog tsim los ntawm lub hauv paus-duab, uas nruab tag nrho cov dependencies xav tau rau Docker thiab Kubernetes khiav hauv ib lub thawv.

Pom zoo: