Consul Service nrhiav ua haujlwm li cas?
Consul Service nrhiav ua haujlwm li cas?

Video: Consul Service nrhiav ua haujlwm li cas?

Video: Consul Service nrhiav ua haujlwm li cas?
Video: Как заставить беговую дорожку работать, если вы потеряли ключ 2024, Hlis ntuj nqeg
Anonim

Consul pab kev pab nrhiav pom siv lub built-in DNS server. Qhov no tso cai rau cov ntawv thov uas twb muaj lawm kom yooj yim sib koom ua ke, vim yuav luag txhua daim ntawv thov txhawb nqa siv DNS los daws qhov chaw nyob IP. Siv DNS hloov chaw nyob IP zoo li qub tso cai kev pabcuam kom scale up/down thiab txoj kev nyob ib ncig ntawm tsis ua hauj lwm yooj yim.

Ua raws li qhov no, qhov kev pabcuam consul yog dab tsi?

Consul yog ib qho kev faib tawm, muaj ntau heev, datacenter-paub, kev pabcuam nrhiav thiab configuration system. Nws tuaj yeem siv los nthuav tawm kev pabcuam thiab cov nodes nyob rau hauv ib tug saj zawg zog thiab haib interface uas tso cai rau cov neeg siv ib txwm muaj ib tug tshiab-to-hnub saib ntawm cov infrastructure lawv yog ib feem ntawm.

Ib sab saum toj no, tus consul template ua haujlwm li cas? Consul Template yog ib qho yooj yim thiab haib cuab tam uas populates qhov tseem ceeb ntawm Consul nyob rau hauv cov ntaub ntawv system. Consul templates tuaj yeem ua qee cov lus txib. Feem ntau, consul template khiav raws li ib tug daemon, thiab cov daemon no tuaj yeem nug a Consul pawg thiab hloov kho txhua tus lej teev tseg cov qauv nyob rau hauv lub filesystem.

Tom qab ntawd, HashiCorp Consul ua haujlwm li cas?

HashiCorp Consul yog lub cuab yeej qhib uas daws cov teeb meem tshiab no los ntawm kev muab kev pabcuam nrhiav pom, kuaj xyuas kev noj qab haus huv, kev ntsuas kev thauj khoom, daim duab qhia kev pabcuam, kev tswj hwm tus kheej ntawm TLS, thiab lub khw muag khoom tseem ceeb. Cov yam ntxwv no ua Consul ib lub dav hlau tswj zoo tagnrho rau kev pabcuam mesh.

Kuv yuav sau npe nrog Consul li cas?

Kev pabcuam tuaj yeem yog sau npe by tso a kev pabcuam txhais nyob rau hauv lub Consul tus neeg sawv cev configuration directory thiab muab ib tug reload. Txoj hauv kev no yog qhov yooj yim tshaj plaws rau kev tswj hwm kev teeb tsa uas lwm lub tshuab uas muaj kev nkag mus rau cov ntawv teev npe teeb tsa. Cov neeg siv khoom kuj tseem tuaj yeem siv HTTP API ncaj qha.

Pom zoo: