Slide 1

Slide 1 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 1 ,VCF$PO$/$POͰݟ͔͚͍ͨΖ͍Ζͳπʔϧୡ !NBLPDDIJ

Slide 2

Slide 2 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 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

Slide 3

Slide 3 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 3 TWITTER / @makocchi Makoto Hasegawa FACEBOOK / makocchi0923

Slide 4

Slide 4 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 4 Prow Status https://prow.k8s.io/

Slide 5

Slide 5 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 5 Prow Status https://prow.k8s.io/ kubernetes ʹରͯ͠ PR Λૹͬͨ࣌ʹ ྲྀΕΔ test ΛՄࢹԽͯ͘͠ΕΔ Fail ͨ͠৔߹͸ͦͷ build log ΋ ࢀর͢Δ͜ͱ͕Ͱ͖Δ Ͳͷ label ͕ඞཁ͔ɺͲͷ label ͕෇͍ͯ ͍Δͱͳͷ͔΋දࣔͯ͘͠ΕΔ਌੾ͳ΍ͭ

Slide 6

Slide 6 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 6 TestGrid https://k8s-testgrid.appspot.com/

Slide 7

Slide 7 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 7

Slide 8

Slide 8 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 8 Gubernator https://gubernator.k8s.io/

Slide 9

Slide 9 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 9

Slide 10

Slide 10 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 10

Slide 11

Slide 11 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 11

Slide 12

Slide 12 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 12 tcpkali https://github.com/satori-com/tcpkali

Slide 13

Slide 13 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 13 tcpkali https://github.com/satori-com/tcpkali ͍ΘΏΔ tcp benchmark Opens millions of connections from a single host by using available interface aliases Websocket ʹରԠ͍ͯ͠Δ wrk ΍ thor ͱͷҧ͍͸ɾɾɾ (୭͔΍ͬͯ΄͍͠ͳ |шƅ)ŧŽŕ)

Slide 14

Slide 14 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 14 auger https://github.com/jpbetz/auger

Slide 15

Slide 15 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 15 kubernetes ͕࢖͍ͬͯΔ etcd ͷத਎Λݟ ͯΈ͍ͨͱࢥͬͨ͜ͱ͸͋Γ·ͤΜ͔ʁ auger https://github.com/jpbetz/auger ਲ਼ auger = ͖ Γ $ ETCDCTL_API=3 etcdctl get /registry/pods/default/nginx ͯ͠΋ binary ͡ΌΜɾɾɾͱ΄΄ͬͯࢥͬ ͨ͜ͱ͋Γ·ͤΜ͔ʁ CRD ։ൃͯͯ͠ etcd ͷத਎Λ௚઀ॻ͖׵͑ͨΓͯ͠ debug ͍ͨ͠ͳɾɾɾͳΜͯࢥͬͨΓ͠·ͤΜ͔ʁ

Slide 16

Slide 16 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 16 ͦΜͳ࣌͸ auger ࢖͑͹͍Ζ͍ΖͰ͖·͢ auger https://github.com/jpbetz/auger ਲ਼ auger = ͖ Γ $ ETCDCTL_API=3 etcdctl get /registry/pods/default/nginx | auger decode > apiVersion: v1 > kind: Pod > metadata: > annotations: ... > creationTimestamp: 2017-06-27T16:35:34Z > … $ cat nginx.yaml | auger encode | ETCDCTL_API=3 etcdctl put /registry/pods/default/nginx

Slide 17

Slide 17 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 17 dive https://github.com/wagoodman/dive 今日のイチオシ!

Slide 18

Slide 18 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 18 dive https://github.com/wagoodman/dive Docker image ͷ layer ߏ଄ΛՄࢹԽΛ͠ ͯ͘ΕΔ layer ຖʹ add / mod / del ͞Εͨ file ͕ ͙͢෼͔Δ ෆཁͳϑΝΠϧΛ࡟ͬͨΓɺո͍͠ image ͷਫ਼ࠪʹ໾ʹཱͪͦ͏

Slide 19

Slide 19 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 19 dive

Slide 20

Slide 20 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 20 kanister https://github.com/kanisterio/kanister

Slide 21

Slide 21 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 21 kanister https://github.com/kanisterio/kanister kubernetes ্Ͱ data ΛϚωδϝϯτ͢ Δҝͷ࢓૊ΈΛఏڙͯ͘͠ΕΔ ྫ͑͹ DB ͷఆظతͳ backup ΍؆୯ʹ resotre ͢Δ౳ pipeline ʹ૊ΈࠐΜͰຊ൪ͷ data Λ౎౓ restore ͯ͠ test ͨ͠Γ 2019/01/16 Docker Meetup Tokyo Ͱ࿩ ͠·͢(༧ఆ)

Slide 22

Slide 22 text

KubeCon+CNCon NA 2018 Recap!! @makocchi 22 ,VCF$PO$/$POͰݟ͔͚͍ͨΖ͍Ζͳπʔϧୡ !NBLPDDIJ ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂʂ