Cov txheej txheem:

Kuv yuav tshem tawm kev xa tawm ntawm Kubernetes li cas?
Kuv yuav tshem tawm kev xa tawm ntawm Kubernetes li cas?

Video: Kuv yuav tshem tawm kev xa tawm ntawm Kubernetes li cas?

Video: Kuv yuav tshem tawm kev xa tawm ntawm Kubernetes li cas?
Video: keeb thawj xeeb tsa kev lag luam rau haiv hmoob kom muaj noj muaj haus 2024, Kaum ib hlis
Anonim

Nyem lub iav icon nyob ib sab ntawm lub kev xa tawm , xaiv Rho tawm Deployment … thiab paub meej tias. Mus rau Routing> Services. Nyem lub iav icon nyob ib sab ntawm Kev Pabcuam, xaiv Rho tawm Service… thiab paub meej.

Tib neeg kuj nug, yuav ua li cas kuv tshem tawm kev xa tawm?

Tshem tawm kev xa tawm

  1. Hauv Cloud Console, qhib nplooj ntawv xa tawm. Mus rau nplooj ntawv Deployments.
  2. Nyob rau hauv daim ntawv teev cov deployments, xaiv lub checkboxes rau deployments uas koj xav rho tawm.
  3. Nyob rau sab saum toj ntawm nplooj ntawv, nyem Delete.

Ib yam li ntawd, qhov kev xa tawm Kubernetes yog dab tsi? Kev xa tawm sawv cev rau ib pawg ntawm ntau yam, zoo tib yam Pods uas tsis muaj cov cim tshwj xeeb. A Kev xa tawm khiav ntau qhov kev hloov pauv ntawm koj daim ntawv thov thiab hloov pauv txhua qhov xwm txheej uas ua tsis tau lossis tsis teb. Kev xa tawm yog tswj los ntawm cov Kubernetes Deployment tus tswj.

Qhov thib ob, Kuv yuav tshem tawm StatefulSet li cas?

Kev rho tawm ib StatefulSet Koj ua tau rho tawm ib StatefulSet tib yam li koj rho tawm Lwm cov kev pabcuam hauv Kubernetes: siv kubectl rho tawm hais kom ua, thiab qhia cov StatefulSet los ntawm cov ntaub ntawv los yog lub npe. Tej zaum koj yuav xav tau rho tawm qhov cuam tshuam headless kev pab cuam cais tom qab lub StatefulSet nws tus kheej yog deleted.

Yuav ua li cas koj rhuav tshem pods hauv Kubernetes?

rhuav tshem Pod Qhov kev txiav txim ntawm deleting lub pod yog qhov yooj yim. Yuav rho tawm cov pod koj tau tsim, koj ib zaug dua pib qhov kev txiav txim nrog kub , ua raws li hais kom ua delete pod nginx ua. Paub meej lub npe ntawm tus pod koj xav rho tawm ua ntej nias Enter.

Pom zoo: