Slide 1

Slide 1 text

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

Slide 2

Slide 2 text

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

Slide 7

Slide 7 text

&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@

Slide 8

Slide 8 text

Kubernetes

Slide 9

Slide 9 text

Instagramable Kubernetes K

Slide 10

Slide 10 text

Docker / Kubernetes

Slide 11

Slide 11 text

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

Slide 12

Slide 12 text

Agenda • Cloud Native and Kubernetes • Docker and Kubernetes Overview • Custom Resource and Operator (Custom Controller) • Cloud Native Products • Future of Kubernetes

Slide 13

Slide 13 text

Cloud Native and Kubernetes What is Kubernetes? What is Cloud Naitve?

Slide 14

Slide 14 text

CNCF and The Linux Foundation • KubernetesThe Linux Foundation CNCF •

Slide 15

Slide 15 text

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)

Slide 16

Slide 16 text

Cloud Native— -N);>(9'DoŽADO8--N);EN(FT:-N);@(D O8;-N);“X~6(

Slide 17

Slide 17 text

Cloud Native8 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#,

Slide 18

Slide 18 text

Kubernetes is key product for Cloud Native Computing Cloud Native Ecosystem

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

Docker and Kubernetes Overview Primote Cloud Native

Slide 21

Slide 21 text

Docker Swarm mode Container Orchestration Engine

Slide 22

Slide 22 text

Container Orchestration Engine (4/0 • 3*Docker2/ • # $ # • $ # / $ $ # • "$ # $ • #-.15 • 6&+!$ # • $ • "$# # • $,')%2/

Slide 23

Slide 23 text

Container Orchestration Engine CYOP • 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 CYOP • QT9 + • B34 • SO • 8[M • :NW67_U IA \H@] 54 =

Slide 24

Slide 24 text

What is doing Kubernetes? Declarative Code & APIs Self-Healing Automation & Immutable Infrastructure

Slide 25

Slide 25 text

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

Slide 26

Slide 26 text

Declarative Code and APIs Developer Register YAML Manifest Kubernetes Cluster Manifests API Infrastructure as Code $ kubectl apply –f manifest.yaml

Slide 27

Slide 27 text

Pod

Slide 28

Slide 28 text

Pod

Slide 29

Slide 29 text

Load Balancer

Slide 30

Slide 30 text

Load Balancer

Slide 31

Slide 31 text

ReplicaSet Self-Healing • ReplicaSet Replica • = Node Node

Slide 32

Slide 32 text

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

Slide 33

Slide 33 text

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

Slide 34

Slide 34 text

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

Slide 35

Slide 35 text

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

Slide 36

Slide 36 text

Key points • KubernetesGoogle=/A3. + #(&$,'Borg%,OSS1 → ;*,),"25<>1 ?01846 • 7@1 $!*,9-YAML: → Infrastructure EngineerBOpsC. Server-side Engineer BDevC.

Slide 37

Slide 37 text

Slide 38

Slide 38 text

Kubernetes is Framework and Distributed System Custom Resource Definition

Slide 39

Slide 39 text

, -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

Slide 40

Slide 40 text

Kubernetes Developer

Slide 41

Slide 41 text

Kubernetes Developer """ " " /!

Slide 42

Slide 42 text

Kubernetes Developer !$ % % %%% 1. " 2. # 3. → Control Loop

Slide 43

Slide 43 text

… Developer -1 0+) &' ) ! ) 1. +*# .( 2. +*#,"*# %/ 3. , $ → Control Loop

Slide 44

Slide 44 text

ReplicaSet *2+ Developer 18 Pod (36 #4 $Pod '9 Pod '9 1. / .&5- 2. / .&0%.&,7 3. " ! 0 ) → Control Loop

Slide 45

Slide 45 text

Custom Resource Definition Developer 1. 2. 3. → Control Loop

Slide 46

Slide 46 text

Custom Resource Definition Developer Kubernetes Pod Queue

Slide 47

Slide 47 text

Custom Resource Definition Developer

Slide 48

Slide 48 text

, -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

Slide 49

Slide 49 text

Cloud Native Products on Kubernetes Managed with/on Kubernetes

Slide 50

Slide 50 text

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 "

Slide 51

Slide 51 text

Networking and CI/CD with CRD • Networking • Service MeshIstio • BackendConfig on GCP Ingress • CDNAppArmorDDoSIdentity-Aware Proxy • CI/CDArgo • CI/CD YAML

Slide 52

Slide 52 text

More and more, Cloud Native Products At Japan Container Days Tokyo v18.12 https://speakerdeck.com/masayaaoyama/jkd1812-cloudnativemeetup

Slide 53

Slide 53 text

CRD Kubernetes Cloud OS …

Slide 54

Slide 54 text

Future of Kubernetes Kubernetes is becoming de-facto standard in the future?

Slide 55

Slide 55 text

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/)

Slide 56

Slide 56 text

Google Kubernetes Engine Managed Kubernetes Serivce Azure Kubernetes Service 2014-11 2017-02 2017-11 Amazon Elastic Container Service for Kubernetes

Slide 57

Slide 57 text

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/)

Slide 58

Slide 58 text

CNCFStandardization 01. " (!) OCI v1.0 02. # CRI 03. # CSI 04. # CNI

Slide 59

Slide 59 text

CNCF Community Presentation, CNCF, 2018 (https://github.com/cncf/presentations)

Slide 60

Slide 60 text

Kubernetes

Slide 61

Slide 61 text

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

Slide 62

Slide 62 text

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

Slide 63

Slide 63 text

No content

Slide 64

Slide 64 text

Cloud Native Days Tokyo : Japan Container Days

Slide 65

Slide 65 text

Thank you for your attention follow me: @amsy810