Slide 1

Slide 1 text

.BLF$POUBJOFST'VO ($16(0JUB!ZBNBNPUP@GFCD ެ։൛

Slide 2

Slide 2 text

૝ఆϨϕϧ ஫ҙ ͸͡Ίʹ ɾ%PDLFSجຊతͳ෦෼͸0, ɾ(,&,VCFSOFUFT;ΜΘΓͱཧղ͍ͯ͠Δ ɾৄࡉΛল͍ͯઆ໌͢ΔՕॴ͕ଟʑ͋Γ·͢ ෆ໌఺͸࣭໰͍ͯͩ͘͠͞ ޙ͔ΒͰ΋0, ɾࠓ೔͸ѻΘͳ͍'BB41BB4ͦͷଞϚωʔδυαʔϏεͳͲ΋ ؚΊͨݕ౼͕େࣄͰ͢

Slide 3

Slide 3 text

ɾ,VCFSOFUFTΛ ɾ%PDLFS෩ͷ69Ͱ ɾ1BB4తʹ࢖͑Δπʔϧ IUUQTSJPJP

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

,VCFSOFUFT1PEDBTU લʑճ ʹ΋ొ৔ https://kubernetespodcast.com/episode/057-rancher-labs/

Slide 6

Slide 6 text

։ൃ3BODIFS-BCT 044

Slide 7

Slide 7 text

ίϯςφɺ࢖ͬͯ·͔͢ʁ

Slide 8

Slide 8 text

SlideShare: CNCF Updates 2019 Winter version and Knative https://www.slideshare.net/zembutsu/cncf-updates-2019-winter-version-and-knative

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

Docker Containers and the Nanobox Development Platform https://content.nanobox.io/docker-containers-nanobox-development-platform/ രൃతʹීٴ

Slide 11

Slide 11 text

͚ͩͰྑ͍ʁ

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

,VCFSOFUFT ˞೥࣌఺ͷࢿྉ 2016 2017 2018 2019

Slide 14

Slide 14 text

,VCFSOFUFT೉͍͠໰୊

Slide 15

Slide 15 text

ͨ͘͞Μͷ.BOJGFTU %FQMPZNFOU 4FSWJDF ଞʹ΋ ศར Ώ͑ʹ ࡉ͔͍

Slide 16

Slide 16 text

A platform for platforms https://twitter.com/kelseyhightower/status/935252923721793536

Slide 17

Slide 17 text

n ,VCFSOFUFTͷ্ʹ n ϕετϓϥΫςΟεΛ٧ΊࠐΈ n ͍͍ײ͡ͷΠϯλʔϑΣʔεΛ࣋ͭ n ϓϥοτϑΥʔϜΛ࡞Ε͹͍͍ʂ ,VCFSOFUFTΛ΋ͬͱ ͍͍ײ͡ʹ࢖͍͍ͨ ,VCFSOFUFT͸ ʮ"1MBUGPSNGPS1MBUGPSNTʯ

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

ɾ,VCFSOFUFTΛ ɾ%PDLFS෩ͷ69Ͱ ɾ1BB4తʹ࢖͑Δπʔϧ IUUQTSJPJP ͱ͖ͬͭʹ͍͘ ΈΜͳ׳ΕͯΔ ͍͍ײ͡Ͱ

Slide 20

Slide 20 text

%PDLFSMJLF69ʵCVUPO,VCFSOFUFT $ docker run –p 80:80 nginx $ rio run –p 80/http nginx $ docker ps $ rio ps $ docker exec -it foobar bash $ rio exec -it foobar bash $ docker logs -f foobar $ rio logs -f foobar $ docker rm -f foobar $ rio rm foobar

Slide 21

Slide 21 text

ܰྔ ,VCFSOFUFTΫϥελ͕͋Ε͹࢖͑Δ ύϫϑϧ 1SPNFUIFVT΍,OBUJWFɺ*TUJPΛ ҙࣝͤͣͱ΋ ׆༻Ͱ͖Δ εϚʔτεέʔϦϯά 1SPNFUIFVT͔Βͷ--ϝτϦΫεΛ ར༻ͯ͠Φʔτεέʔϧ ʹ΋Ͱ͖Δ ҉߸Խ ಈతʹׂΓ౰ͯΒΕΔ%/4ϨίʔυͰ -FU`T&ODSZQUͰͷূ໌ॻऔಘ (JUϦϙδτϦΛ؂ࢹࣗ͠ಈతʹ ΠϝʔδͷϏϧυϦϦʔεΛߦ͏ ૉૣ͍σϓϩΠ؅ཧ ࠷ॳ͔ΒηΩϡΞ ࠷ߴͷϦϦʔεମݧ ޮ཰తͳύΠϓϥΠϯ 3#"$ͱ౷߹͞Ε͍ͯΔ ౷߹ ΧφϦΞϦϦʔεͳͲɺεϜʔζʹ ϩʔϧΞ΢τ͢Δ࢓૊ΈΛ಺ଂ εϜʔζͳϦϦʔε

Slide 22

Slide 22 text

2VJDL5PVS

Slide 23

Slide 23 text

$ rio install 2VJDL5PVS ˞લ४උ(,&ͳͲ,VCFSOFUFTΫϥελΛ༻ҙ SJPίϚϯυΛμ΢ϯϩʔυ Πϯετʔϧ $ rio run -p 80/http --name svc --scale=3 nginx:latest ίϯςφىಈ $ rio ps Name CREATED ENDPOINT REVISIONS SCALE WEIGHT default/svc About a minute ago https://svc-default.h3hh3u.on-rio.io:9443 v0 3 100% ֬ೝΞΫηε %/4ׂΓ౰ͯ -FU`T&ODSZQUͰͷূ໌ॻ IUUQT ಠࣗυϝΠϯ΋࢖͑Δ

Slide 24

Slide 24 text

·ΔͰ1BB4ͳύΠϓϥΠϯ

Slide 25

Slide 25 text

(JUϦϙδτϦ͔Β3VO $ rio run -p 80/http --name svc --scale=3 https://github.com/yamamoto-febc/rio-demo.git ˞લ४උϦϙδτϦʹ%PDLFSGJMFΛ༻ҙ͓ͯ͘͠ ϦϙδτϦΛࢦఆͯ͠3VO ˞࣮ࡍ͸ߦ কདྷతʹ͸#VJME1BDLͳͲʹ΋ରԠ༧ఆΒ͍͠ 1VTI΍5BHΛݕ஌ͯ͠Ϗϧυߋ৽ϦϦʔε΋ 1VTI #VJME 3VO

Slide 26

Slide 26 text

εϜʔζͳϦϦʔε

Slide 27

Slide 27 text

# List Services $ rio ps Name CREATED ENDPOINT REVISIONS SCALE WEIGHT DETAIL default/svc About a minute ago https://svc-default.h3hh3u.on-rio.io:9443 v0 3 100% # List Revisions $ rio revision Name IMAGE CREATED SCALE ENDPOINT WEIGHT DETAIL default/svc:v0 ibuildthecloud/demo:v1 About a minute ago 1/3 https://svc-v0-default.h3hh3u.on-rio.io:9443 100 $ rio run -p 80/http --name svc --scale=3 ibuildthecloud/demo:v1 4FSWJDFT3FWJTJPOT 3VO 4UBHJOH3PMMJOHPVU ϦϏδϣϯ͝ͱͷΤϯυϙΠϯτ63- αʔϏε͝ͱͷΤϯυϙΠϯτ63-

Slide 28

Slide 28 text

$ rio ps Name CREATED ENDPOINT REVISIONS SCALE WEIGHT DETAIL default/svc About a minute ago https://svc-default.h3hh3u.on-rio.io:9443 v0 3 100% $ rio revision Name IMAGE CREATED SCALE ENDPOINT WEIGHT DETAIL default/svc:v3 ibuildthecloud/demo:v3 About a minute ago 1/3 https://svc-v3-default.h3hh3u.on-rio.io:9443 0 default/svc:v0 ibuildthecloud/demo:v1 About a minute ago 1/3 https://svc-v0-default.h3hh3u.on-rio.io:9443 100 $ rio stage --image=ibuildthecloud/demo:v3 default/svc:v3 4FSWJDFT3FWJTJPOT 4UBHJOH 4UBHJOH αʔϏε͝ͱͷΤϯυϙΠϯτ63-͸มΘΒͣ εςʔδϯά޲͚ΤϯυϙΠϯτ63-

Slide 29

Slide 29 text

$ rio ps Name CREATED ENDPOINT REVISIONS SCALE WEIGHT DETAIL default/svc About a minute ago https://svc-default.h3hh3u.on-rio.io:9443 v0 3 100% $ rio revision Name IMAGE CREATED SCALE ENDPOINT WEIGHT DETAIL default/svc:v3 ibuildthecloud/demo:v3 About a minute ago 1/3 https://svc-v3-default.h3hh3u.on-rio.io:9443 10 default/svc:v0 ibuildthecloud/demo:v1 About a minute ago 1/3 https://svc-v0-default.h3hh3u.on-rio.io:9443 90 $ rio weight default/svc:v0=90% default/svc:v3=10% 4FSWJDFT3FWJTJPOT $BOBSZ3FMFBTF $BOBSZ3FMFBTF ͜͜΁ͷΞΫηε͕ͰৼΓ෼͚ΒΕΔ

Slide 30

Slide 30 text

$ rio promote default/svc:v3 ɾσϑΥϧτඵ͝ͱʹͣͭ੾Γସ͑Δ ϩʔϧΞ΢τ ɾΦϓγϣϯͰมߋՄೳ SPMMPVUJOUFSWBMඵ਺ SPMMPVUJODSFNFOU૿෼ OPSPMMPVU௚ͪʹ੾Γସ͑ 3PMMJOHPVU 1SPNPUF $ rio revision Name IMAGE CREATED SCALE ENDPOINT WEIGHT DETAIL default/svc:v3 ibuildthecloud/demo:v3 About a minute ago 1/3 https://svc-v3-default.h3hh3u.on-rio.io:9443 10 default/svc:v0 ibuildthecloud/demo:v1 About a minute ago 1/3 https://svc-v0-default.h3hh3u.on-rio.io:9443 90 ঃʑʹ΢ΣΠτ͕૿͍͑ͯ͘

Slide 31

Slide 31 text

εϚʔτͳΦϖϨʔγϣϯ

Slide 32

Slide 32 text

$ rio run -p 8080/http --name autoscale --scale=0-20 strongmonkey1992/autoscale:v0 "VUP4DBMJOH ɾ1SPNFUIFVT͔ΒϝτϦΫεऔಘ ɾऔಘͨ͠ϝτϦΫεʹԠͯ͡Φʔτεέʔϧ ɾεέʔϧ͸ʹ΋Ͱ͖Δ 'BB4޲͚

Slide 33

Slide 33 text

σϑΥϧτͰՄࢹԽʹରԠ

Slide 34

Slide 34 text

෯޿͍૚΁ͷରԠ

Slide 35

Slide 35 text

%FDMBSBUJWF"QQSPBDI $ kubectl apply -f rio-service.yaml %PDLFS෩69ͷखଓ͖ܕΦϖϨʔγϣϯͱ એݴతΦϖϨʔγϣϯΛཱ྆Ͱ͖Δ .BOJGFTU .BOJGFTUΛॻ͘એݴతͳΞϓϩʔν΋Մೳ ࣮૷͸$3%$POUSPMMFS

Slide 36

Slide 36 text

·ͱΊ

Slide 37

Slide 37 text

ɾ,VCFSOFUFTΛ ɾ%PDLFS෩ͷ69Ͱ ɾ1BB4తʹ࢖͑Δπʔϧ IUUQTSJPJP

Slide 38

Slide 38 text

)BWFB)BQQZ$POUBJOFS-JGF !ZBNBNPUP@GFCD