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

KubeCon tips and “Kubernetes at GitHub”

tnir
January 12, 2018

KubeCon tips and “Kubernetes at GitHub”

KubeCon tips and “Kubernetes at GitHub”
Kubernetes Meetup Tokyo #9 @ Cyber Agent
2018-01-12

tnir

January 12, 2018
Tweet

More Decks by tnir

Other Decks in Technology

Transcript

  1. KubeCon tips and “Kubernetes at GitHub” Kubernetes Meetup Tokyo #9

    at Cyber Agent @tnir - Takuya Noguchi 2018-01-12
  2. @tnir Takuya Noguchi Tw: @tn961ir FB: @takuya.noguchi.961 • Co-organizer of

    Kaimyacho.k8s & Prometheus Tokyo & Docker Meetup Tokyo • Cloud Native Ambassador, CNCF • Core Team member, GitLab • 20 yrs Software Engineer in Digital Transform. • Tech PR/SWE/SRE at iRidge, Inc.
  3. Agenda KubeCon + CNCon overview • Certification program update Kubernetes

    at GitHub • Blog article • My questions • Clusters • Deployments • Delivery Workflow • Canary releases • Spokes KubeCon + CNCon EU 2018 • Call for Paper deadline
  4. 2015.11 KubeCon 2015 @ SF 2016.3 KubeCon Europe 2016 @

    London 2016.11 CloudNativeCon + KubeCon NA 2016 @ Seattle 2017.3 CloudNativeCon + KubeCon Europe 2017 @ Berlin 2017.12 KubeCon + CloudNativeCon NA 2017 @ Austin
  5. Schedule • 公式日程: Dec 6-8, 2017 ◦ 実際 → Dec

    4-8, 2017 • → 公式スケジュールをチェックしましょう • 会社で行く場合も注意が必要かも。。
  6. Unofficial announcements • CKA update (k8s 1.8) • Certified Kubernetes

    Application Developer (CKAD) (beta) ◦ アプリケーション開発者のための資格
  7. “Cloud native” from CNCF Charter Cloud native system: 1. Container

    packaged ( => containerization) 2. Dynamically managed ( => orchestration) 3. Micro-services oriented ( => service mesh) https://www.cncf.io/about/charter/
  8. Communications inside pods • Nginx-unicorn ◦ via Unix socket shared

    • Unicorn-failbot ◦ failbot: Proxies to exception tracking system (e.g., Sentry) ◦ via HTTP?
  9. 規約 (convention) $ docker build -t $service:$sha1 ./Dockerfile $ kubectl

    create ns $service-$environment $ deploy -Rf ./config/kubernetes/$environment | \ kubectl apply -ns $service-$environment -f -
  10. Deploy to production $ kubectl create ns review-lab-$branch $ kubectl

    apply -ns github-namespace -Rf config/kubernetes/production
  11. まとめ 1. git+ssh proxy => unicornについ ては触れられず 2. モノリスアプリもKubernetesで動 かせる

    3. Gitオペレーションのコンテナライ ゼーションの情報公開に期待
  12. References (for “Kubernetes at GitHub”) • Conference Website: https://kccncna17.sched.com/ •

    Session site: https://kccncna17.sched.com/event/CUFK/keynote-kubernetes-at-github-jesse-newl and-principal-site-reliability-engineer-github • Slides: https://schd.ws/hosted_files/kccncna17/44/kubernetes-at-github.pdf • Recorded video: https://www.youtube.com/watch?v=OgRHIZt8Yy8 • Related article: https://githubengineering.com/kubernetes-at-github/