SlideShare una empresa de Scribd logo
1 de 10
David Papp
pappdav.com - @pappdav
Chief Architect, Co-founder -
Continuous deployment with containers
Old deployment - “One-man-show”
Chaos
Why? No!444 I don’t care! Maybe… OK!
The plan! :)
Service types:
- API
- SERVICE
- WORKER
- MSERVICE
50+ different service
1000+ containers
24 instances
Deployment
Question?

Más contenido relacionado

Más de David Papp

Kubernetes Node and Application scaling
Kubernetes Node and Application scalingKubernetes Node and Application scaling
Kubernetes Node and Application scalingDavid Papp
 
Microservices from operations aspect
Microservices from operations aspectMicroservices from operations aspect
Microservices from operations aspectDavid Papp
 
Microservices environment in production
Microservices environment in productionMicroservices environment in production
Microservices environment in productionDavid Papp
 
Continuous Deployment with Containers
Continuous Deployment with ContainersContinuous Deployment with Containers
Continuous Deployment with ContainersDavid Papp
 
Continuous Deployment with Containers
Continuous Deployment with ContainersContinuous Deployment with Containers
Continuous Deployment with ContainersDavid Papp
 

Más de David Papp (6)

Kubernetes Node and Application scaling
Kubernetes Node and Application scalingKubernetes Node and Application scaling
Kubernetes Node and Application scaling
 
Microservices from operations aspect
Microservices from operations aspectMicroservices from operations aspect
Microservices from operations aspect
 
Microservices environment in production
Microservices environment in productionMicroservices environment in production
Microservices environment in production
 
Continuous Deployment with Containers
Continuous Deployment with ContainersContinuous Deployment with Containers
Continuous Deployment with Containers
 
Webkonf 2013
Webkonf 2013Webkonf 2013
Webkonf 2013
 
Continuous Deployment with Containers
Continuous Deployment with ContainersContinuous Deployment with Containers
Continuous Deployment with Containers
 

Último

why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 

Último (20)

why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 

May Microservices Meetup for Budapest

Notas del editor

  1. Sziasztok! Papp David vagyok a Recart dolgozom.A kovetkeyo honapba lesz 2 eve. A regi nevunk GhostMonitor volt egy nagyobb brand valtason estunk at. Ha valaki esetleg nem hallot volna meg rolunk akkor azzal foglalkozunk ,hogy a webshopok konverziojat emeleljuk ami jelenti ,hogy minel tobb vasaroljuk legyen. Egy rovid cegtortent ,hogy mi mikent juttotunk el ide. Ugy-e aki nem ismer minket az felteszi a kerdest minek is van nekunk szuksegunk kontenerek vagy-e egyaltalan barmilyen microservices architecktura. Egyreszt gondoljatok bele milyen nehez dolgunk. Nah nem kell sajnalni mineket csak erdemes megerteni a problemankat. . Mi egy SaaS vagyunk amit az ugyfelek igenybe vehetnek. Nah mar most ha egy ugyfel beregisztral akkor mi nemtudunk rola semmit mennyi latogatja van mekkora forgalmat bonyolit le…stb. A mi kis tracking rendszerunk beepul a shopjaba automatan es hasznalja boldogan. Ez ahhoz hasonlo mint a google analytics amint barki betelepithet az oldalaba a legkisebbetol a legnagyobbig es ez meg se omlik ossze . Nah erre a problemara minekunk is fel kell keszulni mert mi sem ismerjuk a masik oldalt. Nagyabbol naponta 20-30 uj regisztracionk van es kb. 2500 aktiv e-commerce shopunk van ami b2b szektorba egy eleg szep szam.
  2. A meetup elejen volt egy szavazas …. Nah de mi szuksegunk van nekunk kontenerekre… Ugy-e lattuk Andras eloadasabol ok ,hogyan juttotak el herokutol egeszen a kubernetesig nem volt egy konnyu ut. Mi anno a CoreOS beepitett rendszeret a fleetet hasznaltuk ami mar deprecated es nem fejlesztik tovabb ok is bealltak a kubernetes moge. Nah de mi utunk ugy vezetett amikor elkezdtuk a ceget akkor en pl. meg fel allasba nyomtam az elejen es hat szuletett egy MVP termek ami a production readyhez koze se volt viszont minden elkezdi valahol . Ezt ugy kell elkepzelni ,hogy volt egy 5 servicebol allo szorny ami valami microservicere hasonlito dolog volt. Nem vagyok ra buszke de mukodott. Igen am de ez a dolog nem maradhatott igy …
  3. Ez vagyok en kimas :D. Hat en voltam az egyetlen a cegnel aki deployolni tudot … ez milyen meno mar one-man-show!!!444 Hat ize nem… foleg ,hogy ebben a korszakban en meg nem voltam foallasu a cegnel igy azert meg viccesebb volt igy utolag... Az FTP-nel egy fokkal jobb volt mert mar dockerben volt. De Dockeres kornyezetben ez kb. ugyan annak a szintnek felelt meg. Szerintem igy vissza gondolva egy docker-compose-al jobban jartunk volna. A docker is meg nagyon az elejen jart akkor volt talan a technolgia 1 eves szoval elege gyerek cipo effektus. Nah de ezt ,hogyan is kepzeljuk el ezt a “folyamatott” hat ugy ,hogy jott Davidka fogdta a kis cli toolocskajat es amit ki kellet deployolni azt ujra inditotta mert igy a docker lehuzta a legujabb IMAGET!
  4. Hat igen ebbol aztan volt boven belso feszultseg egyreszt abbol ,hogy miert csak en tudok deployolni de nem csak ebbol hanem abbol is ,hogy ezt nem volt egy tul stabbil megoldas…. Es valoban nem volt igy vissza gondolva. Ezt azert mondom el ,hogy senki se fusson bele ebbe a hibaba. A startupok azert tudnak dinamikusan fejlodni es elore lepeni mert gyorsak a release ciklusok es gyorsan tudnak reagalni a piac es az ugyfel igenyekre. Persze volt mar tapasztalatom nagy rendszerekben meg hasonlokban de itt mindent 0-rol kellet felepiteni es nem ulhetem bele a joba. De ebben a pillanatban meg eleg messze vagyunk a continiustol is a deloymenttol meg messzebb. De mar tudjuk mi a gond tudjuk es nagyabbol tudjuk merre kellene tovabb menunk ekkora mar eleg sok cikken tul vagyunk amiket elolvastunk a temaban. Nah de hat a nagyszeru otletunket meg kellene osztatnunk az uzleti emberekkel a cegben mi lenne ha …
  5. O itt Soma a CEO-nk… pontosan nem emlekszem az arcara de szerintem kb. Igy kell elkepzelni. Miutan kozoltuk vele ,hogy ezt amit eddig epitgetunk azt ki kellene dobni a kukaba es az egeszet 0-rol kezdeni… A termek szempontjabol egy jelentos lepesnek tekintheto. Itt kezdet el a jelenegi architectura kirajzolodni. Amivel igazaolni tudtok ,hogy ez szukseges az ,hogy a folyamatosok a release ciklusok akar naponta orankent.
  6. Mi is volt a tervunk? Hat az ,hogy epitunk egy halal csillagot…de azert utkozben lejjebb adtuk az igenyeket a csillag rombolig majd megelegedtunk egy x-wingnel. Nah de komolyra forditva a szot felismertuk a problemainkat nem csak az ,hogy a jelenlegi folyamatainak es alkalmazasaink rosszak hanem az uzleti oldalt sem tudjuk kiszolgalni a jelenlegi architecturaval. Egy feature belefejlesztese minimum egy honap volt es igazabol barmit elrondhatunk…es a feature fele nem mukodott vagy csak sok hibaval. Itt fektetuk le a rendszereink alapjait van egy core-lib nevezetu cuccunk ami koa nevu framework-re. Erre azert van szuksegunk mert nem minden servicenek van szuksege minden modulra. Plusz igy csak egy helyen kell megjavitani vagy elrontani valamit . Most vezetuk be a kubernetest amibol kijott az elso stabil verzio. Eleg sok kockakazatot vallaltunk fel ahhoz kepest ,hogy kis startup vagyunk de tudtunk mit akarunk elerni. De most jarunk van service-discovery a rendszer boviheto. Van egy modularis felepitesu framework amire tudunk epiteni. Epitettunk is gyorsan lett kb. 20 serviceunk ami beszelgetett egymassal nem voltak duplikalt funkciok. Hanem egy valodi microservice architectura jott letre. Nah de itt jott a fekete leves….ezt mikent akarjuk ki deployolni es itt gondolok arra ,hogy nem kezzel szeretne senki ezeket deployolni es fejben tartani. Plusz most mar tok jo lenne egy staging kornyezett is ahol ki tudjuk tesztelni a featuroket. Igy utolag vissza gondolva szerintem jo iranyba indultunk el viszont orais terhet es bonyolultsagot vettunk a nyakunkba…
  7. A tervbol vegul ez lett…amikor vegert az ujra iras kb. 20 db servicenel tartottunk. Most kb. 50-nel. 4 fajta service tipust kulonboztettunk meg. API -> Ezek a servicek latszodnak kifele ezzel kommunikalnak a JS-k API-k SERVICE -> business logikat megvalosito szervizek. Itt talalhato a rendszer mukodesenek fobb komponensei WORKER -> Valamit feldolgoznak nincsen endpointjuk. Szigoruan message queue-n keresztul kommunikalnak. Pl. ez vegzi az SQS message feldolgozasat amit betolunk es-be igy juttatunk eladod mongodb-bol es-be. MSERVICE -> Model service reteg. Mindegy egyes adatbazis tablanak van egy darab mservice amin keresztul olvassuk vagy irjuk az adatot. Igy letrehozva egy HTTP reteg az adatabazis folott. Amivel konnyebben tudunk akar DB engine valtani egy adott mservice alatt. Most ott tartunk ,hogy 24 instancen futtatunk korulbelul 1000 db kontenert.
  8. Nah de eljuttotunk mar oda ,hogy szuksegunk van valami uzembiztos megoldasra. Az a szerencse ,hogy Kubernetesbe egy csomo dolog megvan valositva csak hasznalni kell es nagyon jo alapot ad amire tudunk epitkezni. A jelenlegi deployerunk 4. generaciojat eli ami az jelenti ,hogy 4x irtam ujra eddig. Viszont most mar elege kiforrot szerencsere kezdjuk az elejerol. Elso gen Codeship webhook kommunikacio Egynel tobb servicet nemtudot kirakni Minimalis hibakezeles Nem hasznalt DB-t Kezdetleges template Szinkron deployment Masodik gen Codeship webhook kommunikacio Tudod tobb kulonbozo szervizt kirakni viszont az egymasra futasok problemakat okoztak Kezdetleges hibakazeles Nem hasznalt DB-t Statikus template kezeles Szinkron deployment Harmadik gen Codeship webhook kommunikacio API-worker alapu volt Tobb szintu beallitas kezeles Dinamikus template kezeles DB hasznalat Aszinkron deployment – queue kezeles ( Redis ) Elosztott lockolas Negyedik gen Codeship steps Build resze CLI <> API kommunikacio Lockolas Tobb szintu beallitas kezeles Transzparens Hibas deploy eseten hibas build CI folyamat resze
  9. Hogyan is epul fel a build es deployment folyamatunk. Deployment resz csak staging es master branch eseten fut le. CI-ra mi codeshipet hasznalunk es itt vannak ugy nevezett steppek. Minden egyes lepes az egy STEP. Kiveve az zold resz ott csak szet bontottam ,hogy jobban ertheto legyen. Szoval eloszor is a fejleszto be commitol valamit a repo-ba arrol kap egy hookot a codeship ami leirok fajlok alapjan megezni mit is kell csinalnia. Az elso lepes ,hogy lehuzza a buildeleshez szukseges dependenciakat. Le buildeli az alap docker image-t ami szukseges a teszteleshez ebben fognak futni majd a tesztek. Van ket parhuzamossan futo taskunk az elso ,hogy letrehozunk egy artifactot a kodbol ami nem tartalmazza a dev dependenciakat es ezt bemasoljuk egy docker image-be. Erre azert van szukseg mert egyreszt csokkenti a security issuek szamat masreszt kisebb docker image-t kapunk es a node-nak nem kell betolteni a sok felesleges dev depdenciat igy akar performanciat is tudunk novelni. Futtatjuk a tesztjeinket amennyiben ez sikeres lefut rajta a codecovarge amit felkuldunk codeclimate-ba amit a jobb oldalon latok. Ha mind a ket parhuzamos task sikeres. Felpusholjuk az artifactes docker image buildet QUAY-ra. Meg taggeljuk a jelenlegi git commit id-val es egy staging vagy masterrel taggel. A deployment elso lepese ,hogy lockoljuk az adott buildet ne tudjon egymasra futni ket deploy. Ez jelenleg 15 perc timeoutot jelent. Ha nemtud a deployment 15 perc alatt lefutni akkor ra fog futni a kovetkezo. De ez meg nem tortent meg. Ha pedig lockolas kozben rafut a deployment akkor addig var a lokcolasnal ami le nem fut. A lockolas utan a kovetkezo lepes ,hogy elkeri a deployment-cli a a deployment-api-tol a templatet. Ez tartalmazza az eroforrast hasznalatott az environment valtozokat amit teljesen szabadon tudjuk modositani es teljesen dinamikus. API-k eseten pl az ingress letrehozasa is itt tortenik. A kovetkezo lepes maga a deployment itt a CLI a kubectl nevu konzolos tool-t hivja segitsegul. Itt egy sima apply fut le modositja a deploymentet. A kubernetes maga megcsinalja ,hogy darabszamtol fuggetlenul leallitja elinditja az ujakat. Deployment monitoring a kubectl-be van lehetoseg ami figyeli ,hogy hol tart a deployment igy a fejleszot Is latja ,hogy hol tart kb. a deploy. A masik funkcioja ,hogy ha nemtud elindulni a service vagy barmi hiba van akkor autorollback lep eletbe igy hibas service nem marad kint. Ez esetben a build failed igy jelezve mindenkinek ,hogy gond van. Ha minden rendben lefuttot akkor unlock lefut. Termesztesen ha fent hiba van az unlock automatikusan lefut exception eseten. Deployment tracking az egyik legfontosabb resz ezzel taggeljuk meg a metrickakat es fogjuk latni ,hogy ha performancia eses , hiba rate …stb akkor tudjuk ,hogy ez a commit okozta hibat sokkal egyszerubben tudunk debugolni.