Cov txheej txheem:

Kuv yuav siv daim ntawv thov li cas hauv Kubernetes?
Kuv yuav siv daim ntawv thov li cas hauv Kubernetes?

Video: Kuv yuav siv daim ntawv thov li cas hauv Kubernetes?

Video: Kuv yuav siv daim ntawv thov li cas hauv Kubernetes?
Video: Yuav ua li cas nrog koj daim ntawv pov npav tom qab koj xa mus 2024, Kaum ib hlis
Anonim

Txhawm rau pob thiab xa koj daim ntawv thov ntawm GKE, koj yuav tsum:

  1. Ntim koj app hauv a Docker duab.
  2. Khiav lub thawv hauv zos ntawm koj lub tshuab (yeem)
  3. Upload daim duab mus rau npe.
  4. Tsim ib pawg ntim khoom.
  5. Muab tso rau koj app rau pawg.
  6. Qhia koj app rau hauv Internet.
  7. Scale up koj kev xa tawm .

Tom qab ntawd, ib tus tuaj yeem nug, Kuv yuav siv cov duab rau Kubernetes li cas?

Yog tias koj xav siv cov duab ntawm koj lub tshuab hauv zos koj tuaj yeem siv qhov ntawd tsis yog qhov chaw cia khoom txuas

  1. Kauj ruam 1: Rub cov duab los ntawm Lub Chaw Tso Cai thiab tsim lub Thawv ntawm Pawg.
  2. Kauj ruam 2: Tshaj tawm Kubernetes Kev xa tawm los ntawm Load Balancer.
  3. Kauj ruam 3: Nrhiav tus IP sab nraud ntawm koj lub Thawv.

Ib sab saum toj no, koj ua li cas siv daim ntawv qhia kev cai lij choj? Txhawm rau tsim koj tus kheej daim ntawv thov hauv Go thiab xa mus rau Kubernetes siv Helm koj feem ntau yuav ua raws li cov kauj ruam no:

  1. Kauj ruam 1: Tau txais daim ntawv thov qhov chaws.
  2. Kauj ruam 2: Tsim cov duab Docker.
  3. Kauj ruam 3: Tshaj tawm Docker duab.
  4. Kauj Ruam 4: Tsim Daim Npav Helm.
  5. Kauj ruam 5: Xa cov piv txwv daim ntawv thov hauv Kubernetes.

Ib yam li ntawd, koj yuav siv cov lus txib twg los tsim kev xa tawm?

Koj tuaj yeem tsim thiab tswj a Kev xa tawm los ntawm siv cov Kubernetes lus txib kab interface, Kubectl.

Daim ntawv thov Kubernetes yog dab tsi?

Kubernetes apps yog cov chaw lag luam-npaj ntim cov kev daws teeb meem nrog cov qauv xa tawm ua ntej, muaj kev txav tau yooj yim, kev tso cai yooj yim, thiab kev sib sau ua ke. Lawv tuaj yeem khiav ntawm Anthos, hauv huab, ntawm thaj chaw, lossis nyob rau Kubernetes pawg tuav hauv lwm qhov chaw.

Pom zoo: