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

kubecon_cncon_2018_na_recap_various_tools

makocchi
December 27, 2018

 kubecon_cncon_2018_na_recap_various_tools

2018/12/27 @ cybozu

makocchi

December 27, 2018
Tweet

More Decks by makocchi

Other Decks in Technology

Transcript

  1. 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
  2. KubeCon+CNCon NA 2018 Recap!! @makocchi 5 Prow Status https://prow.k8s.io/ kubernetes

    ʹରͯ͠ PR Λૹͬͨ࣌ʹ ྲྀΕΔ test ΛՄࢹԽͯ͘͠ΕΔ Fail ͨ͠৔߹͸ͦͷ build log ΋ ࢀর͢Δ͜ͱ͕Ͱ͖Δ Ͳͷ label ͕ඞཁ͔ɺͲͷ label ͕෇͍ͯ ͍Δͱͳͷ͔΋දࣔͯ͘͠ΕΔ਌੾ͳ΍ͭ
  3. 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 ͱͷҧ͍͸ɾɾɾ (୭͔΍ͬͯ΄͍͠ͳ |шƅ)ŧŽŕ)
  4. 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 ͍ͨ͠ͳɾɾɾͳΜͯࢥͬͨΓ͠·ͤΜ͔ʁ
  5. 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
  6. KubeCon+CNCon NA 2018 Recap!! @makocchi 18 dive https://github.com/wagoodman/dive Docker image

    ͷ layer ߏ଄ΛՄࢹԽΛ͠ ͯ͘ΕΔ layer ຖʹ add / mod / del ͞Εͨ file ͕ ͙͢෼͔Δ ෆཁͳϑΝΠϧΛ࡟ͬͨΓɺո͍͠ image ͷਫ਼ࠪʹ໾ʹཱͪͦ͏
  7. 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 Ͱ࿩ ͠·͢(༧ఆ)