$30 off During Our Annual Pro Sale. View Details »

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

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. None
  2. -F7BO/HIJB $ZCFS"HFOU *OD %FWFMPQFS1SPEVDUJWJUZ(SPVQ 1JQF$%$POUSJCVUPS !OHIJBMW !OHIJBMW

  3. "HFOEB w $%TUBUVTBOEDIBMMFOHFT w 8IZ)PXXFVTF1JQF$%BTPVS$%QMBUGPSN w $VSSFOUTUBUVTPG1JQF$%BU$ZCFS"HFOU w 'VUVSFXPSL

  4. $%TUBUVTBOEDIBMMFOHFT

  5. $*$% w 8FVTF$*$%TZTUFNTUPBDDFMFSBUFUIF TPGUXBSFEFMJWFSZQSPDFTT w $*BOE$%BSFPGUFOUBMLFEBCPVUUPHFUIFS CVUUPEBZ*XJMMNBJOMZGPDVTPO$%

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

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

    w )JHIPOCPBSEJOHDPTUXIFONPWJOHBSPVOEUIFUFBNT w 1SPEVDUOVNCFSJODSFBTFT UPPMOVNCFSJODSFBTFT w )VHFMBDLPGDPOTJTUFODZ w #BEFYQFSJFOD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JPO EFQMPZNFOU QJQFESFTPVSDFT w FOWQSPE HSPVQTSFPSBOZMBCFMDBOCFTQFDJ

    fi FE w &BDIVTFSNVTUCFMPOHUPBUMFBTUBUFBN w FH(JU)VCUFBN w &BDIUFBNDBOCFDPO fi HVSFEUPIBWFB 
 TQFDJ fi DSPMFPOSFTPVSDFTUIBUNBUDIUIF 
 HJWFOMBCFMT
  34. $VSSFOUTUBUVTPG1JQF$% 
 BU$ZCFS"HFOU

  35. 5FBNTUSVDUVSF w 1MBUGPSN5FBN w $POUSJCVUFTUP1JQF$%044QSPKFDU w .BJOUBJOTBOJOUFSOBMDPOUSPMQMBOFGPS 
 UIFXIPMFDPNQBOZ w

    4VQQPSUTQSPEVDUUFBNTUPVTF1JQF$% w 1SPEVDU5FBN w *OTUBMMT1JQFEBHFOUTJOTJEFUIFJSIPTUFOWJSPONFOUT w %FQMPZTBOENBOBHFTBQQMJDBUJPOTOFFEFE 
 GPSUIFJSQSPEVDU
  36. 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
  37. 'VUVSFXPSL

  38. '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$/$'
  39. 0OFNPSFUIJOH

  40. 1JQF$%1MBZHSPVOE &OUFSUIFMJOLBOEMPHJOXJUIZPVS(JU)VCBDDPVOU &OKPZBOEFYQFSJFODF1JQF$%🎉 -FUVTLOPXJGZPVIBWFBOZGFFECBDL🥰 IUUQTQMBZQJQFDEEFWMPHJO QSPKFDUQMBZ   

  41. 8FBSFIJSJOH 8FXPVMEMPWFUPIBWFZPVKPJOVT 1JQF$%044 5IBOLZPV