Menene sabo a Docker 1.12

Docker shine abin da aka sani da kayan kwalliyar kayan kwalliyar aikace-aikace. A matsayin dandamali, yana baiwa masu amfani da shi duk abin da ya hada da sarrafa kwantena, tun daga mahimman bukatun da ake buƙata, kamar ƙaddamar da sauƙaƙan hanyoyin da kwantena ke ɗauke da su, zuwa mawuyacin tsari, kamar kimanta bayanai a kan lokaci. ainihin waɗanda suke daga cikin ayyukan mawaƙan.

1 Don wannan damar, Docker ya sabunta tare da sigar 1.12, wanda ya haɗa da sababbin abubuwa da yawa, saboda haɗin gwiwar masu haɓaka dandalin da gudummawar da al'umma suka bayar.

Docker 1.12.

Incorpoungiyar fasali an haɗa su cikin wannan damar don buɗe zaɓi wanda aka sani da yanayin taro. Wannan ya bayyana a matsayin tsari tare da nodes waɗanda aka haɗu ta hanyar tsarin rarrabawa, inda kowane kumburi keɓance kansa tsarin aiki wanda ke tsoma baki cikin gudanar da tsarin gaba ɗaya, don adana albarkatu. Kowane kumburi za a iya tsara shi don ƙungiya ko wasu daga cikinsu su mai da hankali kan jagorancin wasu ayyuka; Wannan rukunin yana aiki akan gudanarwar tari da ayyukan da kwantena ya ƙunsa, haɗi da sabis ɗin da aka bayar ga API. da sauran rukuni na nodes a cikin sauran ayyukan. Lwaxanda aka san su da nodes na ma'aikata,tSuna aiki kan aiwatar da ayyuka masu sauƙi da duk abin da ya ƙunshi kwararar bayanai a cikin akwati. Yana da mahimmanci a lura cewa a matsayin ɓangare na tsaro, waɗannan node "marasa jagora" don kwantena ba su da cikakkiyar damar zuwa ga bayanin da API da ajiyar bayanan suka bayar. An iyakance su ne kawai don cika ayyukansu na asali da kuma ba da rahoto game da kowane ɗayan ayyukansu.

2

Ya kamata a lura cewa nodes ɗin da aka sanya wa wasu ayyuka ba koyaushe ake ajiye su ba har abada, ana iya sake sanya su zuwa wasu matsayin ta hanyar daidaitawa. Ana kiran shi yawanci goyon bayan da kowannensu zai iya bayarwa yayin da ɗayansu bai iya cika aikin da aka ɗora musu ba.

A matsayin tallafi don sadarwa tsakanin nodes, ana amfani da manajan da ke tallafa musu a cikin wannan aiki na sarrafa bayanai. Nodes ɗin da suke jagoranta suna aiwatarwa ta hanyar yarjejeniya, ayyukan da suka haɗa da ayyuka da ayyuka a cikin taron. A takaice dai, kumburin da aka zaba azaman jagora yana aiki kamar haka yayin gudanarwa da yanke shawara don kwantena. Bayan haka, wannan kumburin da ke sarrafawa da bayar da matsayin kowane kumburi ga sa-ido, shima yana ba da bayani game da ayyuka da aiyukan da suka aiwatar. Waɗannan nodes ɗin da ke sarrafawa a halin yanzu baya buƙatar izini na musamman don maɓallan da ke ba da damar isa ga bayanin da aka faɗi, suna aiki ba tare da rikici a kan wannan batun ba, suna barin goyon bayan da dole ne su bayar ga shugabannin don sauran nodes.

3

Dangane da nodes na ma'aikata, ana aiwatar da sadarwa tare da nodes na manajan ta hanyarl Yarjejeniyar GRPC wanda ke aiki tare da hanyoyin sadarwa HTTP / 2. Tare da wannan yarjejeniya, suna ba da lissafi ga nodes masu sarrafawa na matsayin ayyukan da aka ba su, gami da alamar rai da ke nuna ko kumburin na ci gaba da aiki don akwatin.

Theungiyar tana aiki azaman tsarin rarrabawa mai saurin gudana ga kowane tsari, godiya ga tsarin fayil ɗinsa da aka rarraba. Yana da ƙwaƙwalwar ajiya na karanta nan take wanda ke inganta waɗannan matakan karatun a wasu lokuta lokacin da nauyin karatu ya yi girma sosai kuma ana buƙatar saurin karatu a lokacin irin wannan yanayi. Haka kuma, da rubuta bayanai a cikin tsari na taro; tattara dukkan bayanai a cikin hanyar sadarwa guda daya, wani abu da yake adana lokaci mai yawa yayin buƙatun abu. A bayyane yake, ingancin rubutu da karatun bayanai yana ƙara saurin aiki da aikin, ba tare da ƙididdigar adanawa da adana bayanan yayin aikin ba.

Docker 1.12 ke kula da tsarin yawo don samar da ingantattun bayanan adana bayanai da kuma saurin isa ga bayanan da suke dauke dasu. Yin ingantaccen tsarin karantawa wanda ke magance rubutun bayanai kawai to faifai a cikin lokacin da ake buƙata. Wani abu wanda ke samar da mafi girman aiki a wannan yanki don tsarin kuma hakan baya barin tsaro gefe, wanda a cikin Docker yana da sauƙi ga waɗanda ba ƙwararrun masaniyar ba. Yakamata kawai ku sami ingantaccen ilimi a cikin al'amuran da kuke buƙatar ɗaukar tsaro don zirga-zirgar hanyar sadarwa mai ruɓi, wanda a mafi yawan lokuta ke buƙatar kulawa ta hannu ko daidaitawa.

Idan kana son karin bayani game da Docker da sabuwar sigar ta a nan mun bar maka hanyar haɗin ta hukuma blog.


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Kasance na farko don yin sharhi

Bar tsokaci

Your email address ba za a buga.

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.