Puas yog Kubernetes thiab Docker tib yam?
Puas yog Kubernetes thiab Docker tib yam?

Video: Puas yog Kubernetes thiab Docker tib yam?

Video: Puas yog Kubernetes thiab Docker tib yam?
Video: Вебинар «Docker Swarm vs K8s. Уйти нельзя остаться» 2024, Hlis ntuj nqeg
Anonim

Docker yog lub platform thiab cov cuab yeej siv rau kev tsim, faib, thiab khiav Docker ntim. Kubernetes yog lub thawv orchestration system rau Docker cov thawv uas muaj ntau dua Docker Swarm thiab yog txhais tau los sib koom ua ke pawg ntawm cov nodes ntawm nplai hauv kev tsim khoom kom zoo.

Ib yam li ib tug yuav nug, Kubernetes puas yog lwm txoj hauv kev rau Docker?

Ib tug tsis yog lwm txoj rau lwm tus. Heev qhov tsis sib xws; Kubernetes tuaj yeem khiav tsis muaj Docker thiab Docker tuaj yeem ua haujlwm yam tsis muaj Kubernetes . Tab sis Kubernetes tuaj yeem (thiab ua) tau txais txiaj ntsig zoo los ntawm Docker thiab vice versa. Docker yog ib qho software standalone uas tuaj yeem ntsia tau rau hauv txhua lub computer los khiav cov ntawv thov ntim khoom.

Ib yam li ntawd, kuv yuav tsum kawm Docker ua ntej Kubernetes? Koj ua tsis tau tiag ua k8s vim Docker , thiab cov Docker cov hauv paus yog yooj yim zoo nkauj kawm . Tiag tiag kawm Docker thawj. Kuv yuav tsis siv sijhawm nrog Swarm lossis Compose, tshwj xeeb tshaj yog vim koj tuaj yeem nruab minikube yooj yim txaus. Raws li koj siv kub , nws yuav muab txoj hauv kev rau koj kawm docker.

Kuj paub, Docker ua haujlwm nrog Kubernetes li cas?

Siv Docker nrog Kubernetes Sub hood, Kubernetes tuaj yeem koom ua ke nrog cov Docker engine los tswj lub sijhawm teem sijhawm thiab ua tiav ntawm Docker ntim rau Kubelets. Cov Docker cav nws tus kheej yog lub luag hauj lwm rau kev khiav lub thawv tiag tiag duab ua los ntawm kev khiav ' docker tsim'.

Kubernetes yog dab tsi?

Dab tsi ua Kubernetes ua tau ua thiab vim li cas siv nws? Kubernetes yog ib tug neeg muag khoom-agnostic pawg thiab tswj lub thawv, qhib-sourced los ntawm Google nyob rau hauv 2014. Nws muab ib tug "platform rau automating deployment, scaling, thiab ua hauj lwm ntawm daim ntawv thov ntim thoob plaws pawg hosts".

Pom zoo: