Yaml cov ntaub ntawv hauv Kubernetes yog dab tsi?
Yaml cov ntaub ntawv hauv Kubernetes yog dab tsi?

Video: Yaml cov ntaub ntawv hauv Kubernetes yog dab tsi?

Video: Yaml cov ntaub ntawv hauv Kubernetes yog dab tsi?
Video: YAML-файл Kubernetes - развертывание и обслуживание | Kubernetes Учебник 19 2024, Kaum ib hlis
Anonim

YAML , uas stands rau Tseem Lwm Markup Language, los yog YAML Ain't Markup Language (nyob ntawm seb leej twg koj nug) yog tib neeg-nyeem ntawv nyeem-raws li hom ntawv rau kev qhia txog kev teeb tsa hom ntaub ntawv. Piv txwv li, hauv kab lus no, peb yuav xaiv qhov sib txawv YAML Cov lus txhais rau kev tsim thawj Pod, thiab tom qab ntawd xa mus.

Ntawm no, Yaml yog dab tsi hauv Kubernetes?

YAML , uas stands rau Tseem Lwm Markup Language, los yog YAML Ain't Markup Language (nyob ntawm seb leej twg koj nug) yog tib neeg-nyeem ntawv nyeem-raws li hom ntawv rau kev qhia meej cov ntaub ntawv hom. Piv txwv li, hauv kab lus no, peb yuav xaiv qhov sib txawv YAML Cov lus txhais rau kev tsim thawj Pod, thiab tom qab ntawd xa mus.

Tom qab ntawd, lo lus nug yog, dab tsi 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.

Yog li ntawd, Yaml cov ntaub ntawv siv rau dab tsi?

YAML (ib tug recursive acronym rau " YAML Tsis yog Markup Language") yog tib neeg nyeem cov ntaub ntawv-serialization hom lus siv rau kev teeb tsa cov ntaub ntawv thiab hauv cov ntawv thov uas cov ntaub ntawv khaws cia lossis xa mus.

Kubernetes manifest file yog dab tsi?

Kubernetes manifests yog siv los tsim, hloov kho thiab tshem tawm Kubernetes cov kev pab xws li pods, deployments, services or ingresses. Nws yog qhov ntau heev los txhais tshwm sim nyob rau hauv daim ntawv ntawm. yaml cov ntaub ntawv thiab xa lawv mus rau qhov Kubernetes API Server ntawm cov lus txib xws li kub thov -f my- ntaub ntawv.

Pom zoo: