Cov txheej txheem:

Kubernetes tuaj yeem ua haujlwm yam tsis muaj Docker?
Kubernetes tuaj yeem ua haujlwm yam tsis muaj Docker?

Video: Kubernetes tuaj yeem ua haujlwm yam tsis muaj Docker?

Video: Kubernetes tuaj yeem ua haujlwm yam tsis muaj Docker?
Video: Развертывание контейнера Docker в Kubernetes с использованием файлов YAML 2024, Kaum ib hlis
Anonim

Heev qhov tsis sib xws; Kubernetes tuaj yeem ua haujlwm yam tsis muaj Docker thiab Docker tuaj yeem ua haujlwm yam tsis muaj Kubernetes . Tab sis Kubernetes tau (thiab ua ) tau txais txiaj ntsig zoo los ntawm Docker thiab vice versa. Docker yog software ib leeg xwb tau tau nruab rau hauv ib lub computer rau khiav ntim cov ntawv thov.

Ib yam li ntawd, koj tuaj yeem nug, Kubernetes puas siv Docker?

Raws li Kubernetes yog ib lub thawv orchestrator, nws xav tau lub thawv runtime nyob rau hauv thiaj li yuav orchestrate. Kubernetes yog feem ntau siv nrog Docker , tab sis nws kuj tseem tuaj yeem siv nrog txhua lub thawv ntim khoom. RunC, cri-o, containerd yog lwm lub thawv runtime uas koj tuaj yeem xa nrog Kubernetes.

Kuv puas 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.

Ntawm no, qhov txawv ntawm Kubernetes thiab Docker yog dab tsi?

Docker Swarm. Ib qho tseem ceeb qhov sib txawv ntawm Kubernetes thiab Docker yog li Kubernetes yog txhais tau tias yuav hla hla pawg thaum Docker sau rau ntawm ib leeg xwb. Kubernetes yog dav tshaj Docker Swarm thiab yog txhais tau los sib koom ua pawg ntawm cov nodes ntawm nplai hauv kev tsim khoom hauv ib tus yam ntxwv.

Dab tsi yog qhov hloov pauv Docker?

Qhov sib txawv Docker Alternatives muaj raws li hauv qab no:

  • Lub thawv Virtual. Virtual Box cuab yeej los ntawm Oracle, raws li lub npe qhia, tsim ib puag ncig virtual uas tso cai rau tus tsim tawm teeb tsa thiab khiav nws cov ntawv thov hauv ntau lub platform.
  • Vagrant.
  • Hma.
  • Rancher.
  • Kubernetes.
  • Apache Mesos.
  • LXC Linux Thawv.

Pom zoo: