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

Kubernetes and Cloud Native Products ~Cloud Nat...

Kubernetes and Cloud Native Products ~Cloud Native Kansai #2~ / cnjp_kansai_2_amsy810

Twitter: @amsy810
Masaya Aoyama@CyberAgent
adtech studio

Masaya Aoyama (@amsy810)

March 15, 2019
Tweet

More Decks by Masaya Aoyama (@amsy810)

Other Decks in Technology

Transcript

  1. Masaya Aoyama CyberAgent adtech studio Cloud Native࣌୅ʹ͓͚Δ Docker / Kubernetes

    ʹΑΔ։ൃ Developers Summit 2019 at 02/14 ࢿྉ: http://bit.ly/devsumi 2019 k8s MasayaAoyama @amsy810 Masaya Aoyama CyberAgent adtech studio Kubernetes and Cloud Native Products Cloud Native Kansai #2 MasayaAoyama @amsy810
  2. &7:)D B/;E Kubernetes +$ Docker / K8s =< Japan Container

    Days v18.04Google Cloud K8s Day Keynote .(%8*#   0-?6 AWS Dev Day TokyoIBM Think Japan  CKA #138CKAD #2 Masaya Aoyama (@amsy810) Infrastructure Engineer  Co-chair - Cloud Native Days Tokyo D2 Japan Container DaysE Organizer - Cloud Native Meetup Tokyo Organizer - Kubernetes Meetup Tokyo Organizer - KubeCon 13"5# Contribute to OpenStack and Kubernetes !4' KaaS ,> / A9 K8s C@ 
  3. 4@@ 1- 1 01/ / /4 D- -0- 0 AA1-

    C1.- A -01 A-: @1C 418 4A- @- -. A2-8 1DA: D : 4 8 4@@ 1- 1 01/ / C- D 81 -/D @ / :@- :1 4@@ 1- 1 01/ / - -D-- D- - - .-1 1:@ : 1 A A - .1@ :@1:- -: - 1C 4 1 A 4A D.1 1:@ - -: :@- :1 -D
  4. Agenda • Cloud Native and Kubernetes • Docker and Kubernetes

    Overview • Custom Resource and Operator (Custom Controller) • Cloud Native Products • Future of Kubernetes
  5. CNCF and The Linux Foundation • Kubernetes The Linux Foundation

    CNCF  •     
  6. Cloud Native Cloud native technologies empower organizations to build and

    run scalable applications in modern, dynamic environments such as public, private, and hybrid clouds. Containers, service meshes, microservices, immutable infrastructure, and declarative APIs exemplify this approach. These techniques enable loosely coupled systems that are resilient, manageable, and observable. Combined with robust automation, they allow engineers to make high-impact changes frequently and predictably with minimal toil. The Cloud Native Computing Foundation seeks to drive adoption of this paradigm by fostering and sustaining an ecosystem of open source, vendor-neutral projects. We democratize state-of-the-art patterns to make these innovations accessible for everyone. CNCF Cloud Native Defenition v1.0, CNCF, 2018-11-28 (https://github.com/cncf/toc/blob/master/DEFINITION.md)
  7. Cloud Native— -N);>(9'DoŽADO8--N);EN(FT:-N);@(D O8;-N);“X~6(<H8-{f3.TNDP&E O.T1MR%tƒh "‹]%„ˆ   &E QT7XY/R9<0TB3J81LG(-Q0TB3(HLT6

    DP(RCN3:N-7Ki‘dAPI !  # nv!ckl‚z]awl"}…b139I h y   # %exŒ_`„b$" +R2=&(RA-: "gr%sj•^]–‡Ww!     Cloud Native Computing Foundation,TER4T3FR6TU€EQ2*-: +/139I%ŠmS†p  AN6(Iq|%Z” ‰  s[A5TR%uV`  # (?FT1MR%’ \|  "   CNCF Cloud Native Defenition v1.0, CNCF, 2018-11-28 (https://github.com/cncf/toc/blob/master/DEFINITION.md)
  8. Cloud Native 8 Cloud native technologies empower organizations to build

    and run scalable applications in modern, dynamic environments such as public, private, and hybrid clouds. Containers, service meshes, microservices, immutable infrastructure, and declarative APIs exemplify this approach. These techniques enable loosely coupled systems that are resilient, manageable, and observable. Combined with robust automation, they allow engineers to make high-impact changes frequently and predictably with minimal toil. The Cloud Native Computing Foundation seeks to drive adoption of this paradigm by fostering and sustaining an ecosystem of open source, vendor-neutral projects. We democratize state-of-the-art patterns to make these innovations accessible for everyone. CNCF Cloud Native Defenition v1.0, CNCF, 2018-11-28 (https://github.com/cncf/toc/blob/master/DEFINITION.md) • .0  • & • /- • 4*  • + 3 71 )%5 ($6 " !'2 Open Scalable #,
  9. Container Orchestration Engine (4/0 • 3*Docker2/ • # $ #

    •  $ # / $ $ # • "$ # $ • #-.15 • 6&+!$ # • $ • "$# # • $,')%2/
  10. Container Orchestration Engine CY OP • XE Docker*" SO •

    1 $ ,2.1 • 2.1 / 2"2.1 • 02.1)!2" • 1 $ KLRZ • ^>F /(&2.1 • 2'!%. • 02#%-11 • !2J?D; SO Container Orchestration Engine CY OP • QT9  + • B34 • SO • 8[M  • :N W67 _U IA \ H@] 54 = <G 8V
  11. Kubernetes  Design Principles, Kubernetes Community, 2017-11-04 (https://github.com/kubernetes/community/blob/master/contributors/design-proposals/architecture/principles.md) 02 03

    01 Self Healing  ) #"  Automation & Immutable Infrastructure Immutable Infrastructure& # Declarative Code & API  Manifests$" %'API !( Infrastructure as Code
  12. Declarative Code and APIs Developer Register YAML Manifest Kubernetes Cluster

    Manifests API  Infrastructure as Code $ kubectl apply –f manifest.yaml
  13. ReplicaSet  Rolling Update (Automation) • #%"$ /) • $!%

    % • Immutable Infrastructure • #%"$ .& Load Balancer Developer (,   '* Deployment+-
  14. ReplicaSet  Rolling Update (Automation) •   • 

        • Immutable Infrastructure •   Load Balancer
  15. ReplicaSet  Rolling Update (Automation) •   • 

        • Immutable Infrastructure •   Load Balancer
  16. ReplicaSet  Rolling Update (Automation) •   • 

        • Immutable Infrastructure •   Load Balancer
  17. Key points • KubernetesGoogle=/A3.  + #(&$,'Borg%,OSS1  → ;*,),"25<>1

     ?01846 • 7@1 $!*,9-YAML:  → Infrastructure EngineerBOpsC . Server-side Engineer BDevC.
  18. , -Kubernetes  Design Principles, Kubernetes Community, 2017-11-04 (https://github.com/kubernetes/community/blob/master/contributors/design-proposals/architecture/principles.md) 02

    03 01 Self Healing  + %$ ! Automation & Immutable Infrastructure Immutable Infrastructure( % Declarative Code & API " Manifests&$ ')API #* Infrastructure as Code
  19.  Kubernetes Developer  !$ % % %%% 1. "

    2.  # 3.   → Control Loop
  20. … Developer  -1 0+) &' )  ! )

      1. +*# .( 2. +*#,"*# %/ 3. , $ → Control Loop
  21. ReplicaSet  *2 + Developer  18 Pod (36 #4

    $Pod ' 9 Pod ' 9 1. / .&5- 2. / .&0%.&,7 3. " ! 0 ) → Control Loop
  22. Custom Resource Definition Developer      1.

     2.  3.    → Control Loop
  23. , -Kubernetes  Design Principles, Kubernetes Community, 2017-11-04 (https://github.com/kubernetes/community/blob/master/contributors/design-proposals/architecture/principles.md) 02

    03 01 Self Healing  + %$ ! Automation & Immutable Infrastructure Immutable Infrastructure( % Declarative Code & API " Manifests&$ ')API #* Infrastructure as Code
  24. XaaS on Kubernetes Ceph as a Service Rook MySQL as

    a Service Vitess Queue as a Service NATS ML as a Service Kubeflow $ CRD + Operator &Vitess%' Operator  #!  etcdmysqlmemcachedredis "
  25. Networking and CI/CD with CRD • Networking • Service MeshIstio

    • BackendConfig on GCP Ingress • CDNAppArmorDDoSIdentity-Aware Proxy  • CI/CDArgo • CI/CD  YAML 
  26. More and more, Cloud Native Products At Japan Container Days

    Tokyo v18.12 https://speakerdeck.com/masayaaoyama/jkd1812-cloudnativemeetup
  27. KubeCon + CloudNativeCon KubeCon + CloudNativeCon Barcelona 2019 Call for

    Proposals (CFP) Is Open, CNCF, 2018-11-28 (https://www.cncf.io/blog/2018/11/16/kubecon-barcelona-2019-call-for-proposals-cfp-is-open/)
  28. Google Kubernetes Engine Managed Kubernetes Serivce Azure Kubernetes Service 2014-11

    2017-02 2017-11 Amazon Elastic Container Service for Kubernetes
  29. Kubernetes for Enterprise •      

    Monzo Bank • Kubernetes + Linkerd (Service Mesh) Building a Modern Bank Backend, Monzo Bank Ltd, 2018-11-28 (https://monzo.com/blog/2016/09/19/building-a-modern-bank-backend/)
  30. CNCFStandardization 01.     " (!) OCI v1.0

    02.     #  CRI 03.   #  CSI 04. #  CNI
  31. 3 I H uNs P /D 6 IBK c a

    io sy P   0 C 1 DD 3 I H W3 I HS M 3 I H & 72 uNs C ID 9 CD H uNs 0BH K L 4 uNs / B 8I uNs /D HI uNs 5 I I uNs uNs N snN s h l o y f fl y s N snr N tk ye & hs c N uNsu ghd v o y /2 /0 fl N s 8 KB 5 HA 3 I H dNkyl 3 I H b
  32. What is mastering kubernetes? Kubernetes81# B= GHE.0FE 0FE GHE 1AIJL

    9R 3C ;% .;> 2<#,+-" O  ;%  9QC/&)(-" 5P!*L? Helm / Ksonnet / Datadog / Prometheus Istio / Jenkins X / Skaffold / Fluentd… M: 7D 4K 288 @ M: )$'" 4K 185 YAML M: N6 4K 199 N6