KubeCon_CNCon_2018_Recap_About_Kanister

D1b28ca276bee52e56ba11785f70d2d6?s=47 makocchi
January 16, 2019

 KubeCon_CNCon_2018_Recap_About_Kanister

KubeCon + CNCon 2018 Recap「About Kanister」@Docker Meetup Tokyo #27

D1b28ca276bee52e56ba11785f70d2d6?s=128

makocchi

January 16, 2019
Tweet

Transcript

  1. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 1 "CPVU,BOJTUFS @makocchi %PDLFS.FFUVQ5PLZP

  2. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 2 サイバーエージェント アドテク本部 所属 普段はデータセンター運用や Private Cloud(OpenStack)を 構築・運用している

    最近では Private Cloud 上に 簡単に Kubernetes を展開できる基盤(AKE)を開発している CKA (Certified Kubernetes Administrator) #150 CKAD (Certified Kubernetes Application Developper) #5 Japan Container Days v18.04 / v18.12 「Dockerだけじゃないコンテナ runtime 徹底比較」 「runc だけじゃない low level コンテナ runtime 徹底比較」 TWITTER / @makocchi Makoto Hasegawa FACEBOOK / makocchi0923 SELF INTRODUCTION
  3. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 3 Kubecon + CNCon 2018 NA recap ということで、今日はその中から

    「CI/CD, Kubernetes, and Databases: Better Together」 のセッション内容をご紹介します
  4. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 4 IUUQTXXXZPVUVCFDPNXBUDI W8Z3[#U@[2

  5. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 5 $MPVE/BUJWFס┩槡מֽׄ׾%BUBCBTFס杯敯 IUUQTTDIEXTIPTUFE@MFTLDDOBF$*$%,T"OE%#T#FUUFS5PHFUIFSQEG

  6. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 6 $MPVE/BUJWFם梪㗞ךע ם׏EBUBCBTFס鷞榫ֿصַٚס־ ؓوٛآ٭ب٘٤כעꣴꦕ׈׿יַיյ䣆Ⳃמ׻׾㚺催ֿ䑒釐 USFBUFEBTQFUT  $*$%מ磝ײ鱮ױ׿יֽ׼׍յ䣆Ⳃמ׻׾ظ٭ذסJNQPSUֿ 䑒釐דזג׽ظ٭ذֿ׌׃מ⹿ׂם׾

    %FW0QTز٭ّכע⮯מ%#"ֿꪫ⠠؅ײםַכַׄםַ
  7. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 7 IUUQTTDIEXTIPTUFE@MFTLDDOBF$*$%,T"OE%#T#FUUFS5PHFUIFSQEG

  8. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 8 ؓوٛآ٭ب٘٤כظ٭ذي٭تֿ䅻מ⺱僿؅⹦׾׆כֿך׀׾ طتعס舅Ⳃ⴫מ׻׾㚺催ס냕鵭⴫כ냕값䈱ם鸵榫ֿך׀׾ 㲔꤀ס梪㗞ךⳂ־׎׾׆כךյطتعס؜فٝشةס⺸┕ֿ釤鱮ױ׿׾ ׵׊$*$%מ磝ײ鱮׳׆כֿך׀׿ף٬٬ IUUQTTDIEXTIPTUFE@MFTLDDOBF$*$%,T"OE%#T#FUUFS5PHFUIFSQEG

  9. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 9 ׈ִלֹ׷זי㲔杯׊׻ֹ

  10. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 10 ׈ז׀־׼妳מםזיַ׾׆׿

  11. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 11 IUUQTLBTUFOJPLBOJTUFS

  12. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 12 LBOJTUFS غؕص鏤  仼儖鏤דכةؘٛ؜٤ ةؘٛؔ籡

  13. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 13 LBOJTUFSֿ׵ג׼׌׵ס %BUB$BQUVSF&YQPSU 'JMFמ傴׀⭳׌׆כ׵ך׀׾׊յ#MPDL4UPSBHFמ׵㵚䑴׊יַ׾ $4*מ㵚䑴岷ײ  4"1*׵ئَ٭ع岷ײ %BUBCBTF.BOJQVMBUJPO

    ظ٭ذסنٜؔذٛ٤ء׷ُت؞٤ءֿ⺎耆 מם׾◀㲊  䄐⮆ס⹦䐂׵⺎耆 $POUSPM1MBOF*OUFHSBUJPO ,VCFSOFUFTכ㳡䫘׊ג%#סؤ٤عٞ٭ֿٜ⺎耆 $3%؅榫ַי⭚杼 "DUJPOTFU CMVFQSJOU ؅㲊紶ך׀׾ 4DBMFVQEPXO璡
  14. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 14 LBOJTUFSֿئَ٭ع׊יַ׾%BUBCBTF

  15. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 15 LBOJTUFSס☼磝ײ XPSLPX IUUQTTDIEXTIPTUFE@MFTLDDOBF$*$%,T"OE%#T#FUUFS5PHFUIFSQEG

  16. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 16 LBOJTUFSס☼磝ײ XPSLPX IUUQTTDIEXTIPTUFE@MFTLDDOBF$*$%,T"OE%#T#FUUFS5PHFUIFSQEG ⠕☔氳מע׆׿ֿLBOJTUFSס ؞ٓדכ䓙זי׾

  17. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 17 LBOJTUFSCMVFQSJOU ַ؂׹׾UBTL؅㲊紶׊ג׵ס $3%םסךZBNMך畘杼׌׾׆כֿך׀׾ 鿥䄭׊׷׌ַBOE؜تذُؕث׊׷׌ַ  ؤِٖؼطֿؔ䇶ֿ׾׆כמ׻זי喋չםCMVFQSJOUֿ榟ױ׿׿ףאס䕑䕤؅ײ؆םֿ䐂׾׆כֿך׀׾ 仴מ鿥䄭׈׿יַ׾CMVFQSJOUס❆

    IUUQTHJUIVCDPNLBOJTUFSJPLBOJTUFS  QPTUHSF42-סCBDLVQכSFTUPSF NPOHPECסCBDLVQכSFTUPSF םלםל
  18. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 18 LBOJTUFSסUPPM鷼 LBODUM LBOJTUFSס"DUJPOTFU؅DSFBUFWBMJEBUF׌׾׆כֿך׀׾ LVCFDUM؅✳זי$3%؅氧ꎰ׌׾׆כ׵ך׀׾ֿյ׆ה׼؅✳ֹכ׻׽؂־׽׷׌ַ־׵׊׿םַ ❆ֻף׆؆ם䚉׋ $ kanctl

    create actionset --action backup --namespace kanister \ --blueprint my-blueprint \ --deployment default/my-app \ --profile my-s3-profile ׆ס㕙⺬עրEFGBVMUNZBQQסEFQMPZNFOUמ㵚׊יNZCMVFQSJOUמ㲊紶׈׿יַ׾CBDLVQ⭚杼؅ NZTQSPMFכַֹQSPMF 鏀錞䗯㕔 ؅✳זי车ֹցכַֹ㲊紶؅LBOJTUFSסOBNFTQBDFמ⛼䡗׌׾
  19. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 19 LBOJTUFSסUPPM鷼 LBOEP ,VCFSOFUFTכ4ס׻ֹםظ٭ذ糋׀㕙ꝴךظ٭ذ؅鬇鴜׌׾ص٭ٜ א׿♓┕ס鐄伺ֿ扛ׂי٬٬׻ׂ؂־׼םַ ׂ؂׊ׂע׆ה׼ס%PDVNFOU؅ IUUQTEPDTLBOJTUFSJPUPPMJOHIUNM

  20. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 20 לֹ׷זי,BOJTUFS؅JOTUBMM׌׾ס

  21. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 21 LBOJTUFSסJOTUBMM ⪜䌋ס)FMNDIBSUֿ榫䙫׈׿יַ׾ 杯侇憠ךס僃二撶ע ┉䑴TUBCMFLBOJTUFSPQFSBUPS׵ֵ׾ֿյ㵼׊⹿ַ $ helm repo

    add kanister https://charts.kanister.io/ $ helm install --name myrelease --namespace kanister \ kanister/kanister-operator --set image.tag=0.16.0 )FMN؅✳؂םַ㕙⺬עNBLFֿ榫䙫׈׿יַ׾ $ make build $ make release-controller REGISTRY=<MY REGISTRY> $ make deploy REGISTRY=<MY REGISTRY>
  22. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 22 ,BOJTUFS؅✳זג啶䡗❆

  23. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 23 IUUQTTDIEXTIPTUFE@MFTLDDOBF$*$%,T"OE%#T#FUUFS5PHFUIFSQEG

  24. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 24 ױכ״

  25. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 25 "CPVU,BOJTUFS8SBQVQ $MPVE/BUJWF梪㗞מַֽיظ٭ذي٭ت؅鷞榫׊יַׂ꤀ס0QFSBUJPO CBDLVQSFTUPSF ؅ LVCFSOFUFTך舅Ⳃ⴫׌׾׆כֿך׀׾סע荁ַכ䓙זג $*$%׌׾꤀מ儖樑מ鲣ַظ٭ذ؅榫䙫׌׾סֿ癨ⶡמם׾ע׍ גד׊յ䏔מ玮חCMVFQSJOUֿגׂ׈؆⭳י׆םַכ孱车׼ם׈אֹ

    ☪䏲עؤِٖؼطؔ؅䇶ֿזיַזיׂ׿׾׆כ؅僿䏨 鎇ע鶱׿׾ׄל׵յ,VCFSOFUFTךظ٭ذي٭تס鷞榫׊יַ׾☔鷼ס鎇绂ַיײגַ םִ٬٬
  26. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 26 אס☽ס3FDBQؾذCZ!NBLPDDIJ ,VCF$PO $/$POך釤־ׄגַ؀ַ؀םص٭ٜ鷼 .POJUPSJOH,VCFSOFUFT"VEJU-PHCZ'BMDP

  27. %0$,&3.&&56150,:0] #Z!NBLPDDIJ 27 "CPVU,BOJTUFS @makocchi %PDLFS.FFUVQ5PLZP ׇ岲绱ֵ׽ֿכׇֹ׉ַױ׊ג