Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A consistent delivery process with GitOps style...

nghialv
March 23, 2022

A consistent delivery process with GitOps style for any application on any platform

My talk at CyberAgent Developer Conference 2022

nghialv

March 23, 2022
Tweet

More Decks by nghialv

Other Decks in Technology

Transcript

  1. $% w "TPGUXBSFBQQDBOCFEFDPNQPTFEJOUP w &YFDVUBCMFBSUJGBDU w $PO fi HVSBUJPO w

    )PTUFOWJSPONFOU w "OZDIBOHFGSPNBOZPGUIFNDBOMFBEUP BDIBOHFJOUIFCFIBWJPSPGUIFBQQ w /FFEUPLFFQUIFNVOEFSDPOUSPMBOE 
 XFMMWFSJ fi FE
  2. $%BU$ZCFS"HFOUCFGPSF1JQF$% w )JHIMZDPVQMFEXJUI$* w /PDFOUSBMJ[FEQMBUGPSNXBTFYJTUJOH w &BDIQSPEVDUUFBNIBTUPUBLFUIFGVMMSFTQPOTJCJMJUZ UPDIPPTFBOENBJOUBJOUIFJSPXO$%TZTUFNT w 4PNFUFBNTXFSFOPUBCMFUPBQQMZ$%QSPQFSMZ

    w )JHIPOCPBSEJOHDPTUXIFONPWJOHBSPVOEUIFUFBNT w 1SPEVDUOVNCFSJODSFBTFT UPPMOVNCFSJODSFBTFT w )VHFMBDLPGDPOTJTUFODZ w #BEFYQFSJFODFTGPSNVMUJDMPVEQSPEVDU
  3. -PPTFDPVQMJOHCFUXFFO$*BOE$% w 5IFZBSFDPNQMFUFMZEJ ff FSFOUUIJOHTXJUI EJ ff FSFOUSPMFT w "CMFUPDIPPTFUIFCFTUUPPMXIJDI

    fi UT FBDIPGUIFN w "WPJEDPNQMFYQJQFMJOFTXIJDIDPOUBJOUPP NVDITUV ff JOTJEF w 3FEVDFTFDVSJUZSJTLT
  4. -PPTFDPVQMJOHCFUXFFO$*BOE$% w 5IFZBSFDPNQMFUFMZEJ ff FSFOUUIJOHTXJUI EJ ff FSFOUSPMFT w "CMFUPDIPPTFUIFCFTUUPPMXIJDI

    fi UT FBDIPGUIFN w "WPJE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PEVDU
  18. w 8FBSFVTJOH1JQF$%UPEFQMPZBOENBOBHF w 0WFSBQQTIBTCFFONJHSBUFEUP1JQF$% 1JQF$%VTBHFBU$ZCFS"HFOU 0 300 600 900 1200

    2020/10 2021/01 2021/04 2021/07 2022/1 w -BNCEBBQQT w &$4BQQT w 5FSSBGPSNBQQT w ,VCFSOFUFTBQQT w $MPVE3VOBQQT
  19. 'VUVSFXPSL w $POUSPM1MBOF w 4VQQPSU3#"$POFBDI1JQF$%SFTPVSDF w &OBCMFUPSVODPOUSPMQMBOFXJUIPVUEBUBCBTF w *OTJHIUTUPTIPXEFMJWFSZQFSGPSNBODF w

    1JQFE"HFOU w .BLFJUNPSFFYUFOTJCMFBOEQSPHSBNNBCMF w $PO fi HVSBUJPOESJGUEFUFDUJPOGPS5FSSBGPSN &$4 w 1SPWJEFNPSFFBSMZGFFECBDLWJBQMBOQSFWJFX 
 TVDIBTEFQMPZNFOUQPMJDZ w .PSFBVUPNBUFEEFQMPZNFOUBOBMZTJTQSPWJEFST w "QQMZUPKPJO$/$'