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

An introduction to Kubernetes

An introduction to Kubernetes

Google Cloud Community fes @ Google Cloud Next'17 Tokyo / 2017.06.17
Kazuki Suda @superbrothers, Takashi Kusumi
https://www.meetup.com/ja-JP/GDG-Cloud-Tokyo/events/240052509/

Kazuki Suda

June 10, 2017
Tweet

More Decks by Kazuki Suda

Other Decks in Technology

Transcript

  1. ,VCFSOFUFT Ӝ ؝ٝذشؔ٦؛أزٖ٦ءّٝخ٦ٕ ؝ٝذشךꂁ⪒ծ鏣㹀ծ盖椚׾遤ֲ Ӝ ĜĦĔėģğήĥęςؘٔءٍ铂ד乼菭㡦 Ӝ (PPHMFך爡ⰻءأذيַ׵؎ٝأػ؎،ׁ׸׋  “Kubernetes

    is open source—a contrast to Borg and Omega,
 which were developed as purely Google-internal systems. “ Borg, Omega, and Kubernetes
 https://research.google.com/pubs/pub44843.html
  2. ,VCFSOFUFTJT0QFO Ӝ ؔ٦فٝا٦أاؿزؐؑ، HJUIVCDPNLVCFSOFUFTLVCFSOFUFT "QBDIF-JDFOTF  Ӝ ؔ٦فٝرؠ؎ٝ HJUIVCDPNLVCFSOFUFTDPNNVOJUZ Ӝ

    ؔ٦فٝ؝ىُصذ؍ 4QFDJBM*OUFSFTU(SPVQT 4*(T  4MBDL 4UBDL0WFSPX Ⰻ⚅歲ד⟃♳ךى٦ز،حف Ӝ $MPVE/BUJWF$PNQVUJOH'PVOEBUJPO $/$' 
  3. $VSSFOU1SPKFDUT Kubernetes
 Orchestration Prometheus
 Monitoring OpenTracing
 Tracing flutentd
 Logging Linkerd


    Service Mesh GRPC
 Remote Procedure Call CoreDNS
 Service Discovery Containerd
 Container Runtime rkt
 Container Runtime CNI
 Networking https://www.cncf.io/projects/
  4. ,VCFSOFUFTJT1PSUBCMF Ӝ DMPVEQSPWJEFS --# ـٗحؙأزٖ٦آזוך乼⡲׾䬄韋⻉ ($1 "84 "[VSF 0QFO4UBDL 

    Ӝ $/* $POUBJOFS/FUXPSL*OUFSGBDF $BMJDP 'MBOOFM 0QFOW4XJUDI 8FBWF  Ӝ $POUBJOFS3VOUJNF %PDLFS SLU DSJP 
  5. ,VCFSOFUFTJT(SPXJOH  Kubernetes Docker Swarm Apache Mesos All Time Statistics

    Contributors 1,473 201 288 Commits 49,619 3,331 24,308 12 Month Statistics Contributors 756 66 155 Commits 19,223 567 7,946 https://www.openhub.net/p/_compare?project_0=Kubernetes&project_1=docker+swarm&project_2=Apache+Mesos As of 17/06/12
  6. ،٦ؗذؙثٍ $POUSPMMFS
 .BOBHFS FUDE 4DIFEVMFS BQJTFSWFS LVCFMFU $POUBJOFS
 3VOUJNF CLI

    API UI Master Node 1 LVCFMFU $POUBJOFS
 3VOUJNF Node “n”
  7. ،٦ؗذؙثٍ $POUSPMMFS
 .BOBHFS FUDE 4DIFEVMFS BQJTFSWFS LVCFMFU $POUBJOFS
 3VOUJNF CLI

    API UI Master Node 1 LVCFMFU $POUBJOFS
 3VOUJNF Node “n”
  8. BQJTFSWFS3&45 $36% 钠鏾钠〳 $POUSPMMFS
 .BOBHFS FUDE 4DIFEVMFS BQJTFSWFS LVCFMFU $POUBJOFS


    3VOUJNF CLI API UI Master Node 1 LVCFMFU $POUBJOFS
 3VOUJNF Node “n”
  9. 1FSTJTUFOU7PMVNFT Ӝ 1FSTJTUFOU7PMVNFT أزٖ٦آ׾䩪ְ⳿׃ג Ӝ 1FSTJTUFOU7PMVNF$MBJNT ׉׸׾銲実ׅ׷  1PE Volume

    App 1FSTJTUFOU7PMVNF mode: RWO capacity: 10Gi 1FSTJTUFOU7PMVNF$MBJN mode: RWO request: 10Gi
  10. 1FSTJTUFOU7PMVNFT Ӝ 1FSTJTUFOU7PMVNFT أزٖ٦آ׾䩪ְ⳿׃ג Ӝ 1FSTJTUFOU7PMVNF$MBJNT ׉׸׾銲実ׅ׷  1PE Volume

    App 1FSTJTUFOU7PMVNF mode: RWO capacity: 10Gi 1FSTJTUFOU7PMVNF$MBJN mode: RWO request: 10Gi NFS
  11. 1FSTJTUFOU7PMVNFT Ӝ 1FSTJTUFOU7PMVNFT أزٖ٦آ׾䩪ְ⳿׃ג Ӝ 1FSTJTUFOU7PMVNF$MBJNT ׉׸׾銲実ׅ׷  1PE Volume

    App 1FSTJTUFOU7PMVNF mode: RWO capacity: 10Gi 1FSTJTUFOU7PMVNF$MBJN mode: RWO request: 10Gi
  12. 1FSTJTUFOU7PMVNFT Ӝ 1FSTJTUFOU7PMVNFT أزٖ٦آ׾䩪ְ⳿׃ג Ӝ 1FSTJTUFOU7PMVNF$MBJNT ׉׸׾銲実ׅ׷  1PE Volume

    App 1FSTJTUFOU7PMVNF mode: RWO capacity: 10Gi 1FSTJTUFOU7PMVNF$MBJN mode: RWO request: 10Gi
  13. 1FSTJTUFOU7PMVNFT Ӝ 1FSTJTUFOU7PMVNFT أزٖ٦آ׾䩪ְ⳿׃ג Ӝ 1FSTJTUFOU7PMVNF$MBJNT ׉׸׾銲実ׅ׷  1PE Volume

    App 1FSTJTUFOU7PMVNF mode: RWO capacity: 10Gi 1FSTJTUFOU7PMVNF$MBJN mode: RWO request: 10Gi
  14. ׉ך➭ Ӝ /BNFTQBDFTؙٓأة׾ⴓⶴׅ׷ Ӝ %FQMPZNFOUTٗ٦ؚٔٝ،حفر٦زծٗ٦ٕغحؙ Ӝ $POH.BQT،فٔ؛٦ءّٝה鏣㹀ךⴓꨄ Ӝ 4FDSFUT،فٔ؛٦ءّٝהء٦ؙٖحزךⴓꨄ Ӝ

    *OHSFTT-頾蚚ⴓ侔ծغ٦ثٍٕمأزծ5-4穄畭 Ӝ +PCTٙٝءّحزآّـ Ӝ $SPO+PCآّـך㹀劍㹋遤 Ӝ 4UBUFGVM4FUTأذ٦زؿٕ،فٔ؛٦ءّٝ Ӝ %BFNPO4FUTⰋגךظ٦سד1PE׾㹋遤 Ӝ )PMJ[POUBM1PE"VUP4DBMFSؔ٦زأ؛٦ٕ 
  15. 1PE׾⡲䧭 $POUSPMMFS
 .BOBHFS FUDE 4DIFEVMFS BQJTFSWFS LVCFMFU $POUBJOFS
 3VOUJNF CLI

    API UI Master Node 1 LVCFMFU $POUBJOFS
 3VOUJNF Node “n”