DevSumi2019 IBM Kubernetes by capsmalt

1cf2de2da02f94ad87a7a31038721e6c?s=47 capsmalt
February 15, 2019

DevSumi2019 IBM Kubernetes by capsmalt

Developer Summit 2019
- Date: 20190215
- Speaker: @capsmalt (Kazufumi Saito)
- Contents: Kubernetes, IBM Cloud Private(ICP), IBM Cloud Kubernetes Service(IKS), Handson

1cf2de2da02f94ad87a7a31038721e6c?s=128

capsmalt

February 15, 2019
Tweet

Transcript

  1. 2 ( 01 51 19 I F 01 51 19

    01 51 19 D B / 1 1 1 - 2 / / @ ( )
  2. 3   

  3. 4 / Develop Production  YAML

  4. 5 3 D Day1 : v1 . 2 Day2 :

    v2 1 Day3 : v1 ..
  5. 6 -

  6. 7    

  7. 8 

  8. 9  "## " #  %$  "$$ &#$

    & !" & $ < ( Cloud Native Meetup Tokyo Cloud Native Developer JP      %$&(+,*)' K I D K A >@>    )
  9. 10  ( )( (

  10. 11 

  11. 12 

  12. 13 1 8   -88 / - 1 :

    8 : / 8 . 1 / 11 .8 8 . . 8 - : . 8 .8
  13. 14  

  14. 15    

  15. 16 / 2 1 / S K O a 8

    a /s D / (&, )
  16. 17

  17. 18  )

  18. 19  

  19. 20 

  20. 21  

  21. 22   & 22

  22. 23  23 B

  23. 24  24 B

  24. 25         2

    2 2 25
  25. 26 + K8s 26 2 2 2   

        
  26. 27 + K8s 27 2 2 2   

        
  27. 28 + K8s 28 2 2 2   

           
  28. 29 + K8s 29 2 2 2   

           
  29. 30 IBM Cloud Kubernetes Service (IKS) IBM Cloud Private (ICP)

    @ @ @ OSS
  30. 31  31

  31. 32  !

  32. 33 ( ) / ) ( ! B ( )

    / A CF ( ! / / ( /
  33. 34 ( ) / ) A ( () ) )

    ) 8 ! / (
  34. 35 

  35. 36 36 IBM Cloud Private IBM Cloud Kubernetes Service (IKS)

    Amazon Elastic Kubernetes Service (EKS) Microsoft Azure Kubernetes Service (AKS) IBM Cloud Private on OpenShift    ICP MCM
  36. 37 IBM Cloud Private (ICP) ecAK8s M g hb IBM

    Cloud Private IBM Cloud Private IBM Cloud Kubernetes Service (IKS) l 8K M ( ) / ) ) l ) i S G hb g O E E MAn fda
  37. 38  

  38. 39 

  39. 40      " &%# $! 

    
  40. 41 C @ M P C / 

  41. 42  Worker Node (OS: Ubuntu)  Pod ! 

      1 Node 
  42. 43  Worker Node (OS: Ubuntu)  Pod ! 

     Kubernetes Worker Node (OS: Ubuntu) Worker Node (OS: Ubuntu) Node Kubernetes
  43. 44  Worker Node (OS: Ubuntu)  Pod ! 

     Worker Node (OS: Ubuntu) Worker Node (OS: Ubuntu) Node Kubernetes
  44. 45  Worker Node (OS: Ubuntu)  Pod ! 

     Worker Node (OS: Ubuntu) Worker Node (OS: Ubuntu) Node Node Kubernetes
  45. 46  Worker Node (OS: Ubuntu)  Pod ! 

     Worker Node (OS: Ubuntu) Worker Node (OS: Ubuntu) Pod IP ) Pod 10.1.0.x .10 .11 .12 .13 .14 .15 .16 .17 .18 .19 Kubernetes
  46. 47  Pod app D D Replica Set Pod app

    Pod app Pod app Service 172.27.x.x:80 Pod app Replica Set v1 Deployment Replica Set v2 Pod app Pod app Pod app
  47. 48 ) Kubernetes 48 q @ q Pod Pod q

    ReplicaSet q Node Kubernetes https://thenewstack.io/kubernetes-deployments-work/
  48. 49  API UI CLI Kubernetes Master Worker Node 1

    Worker Node 2 Worker Node 3 Worker Node n Registry • Etcd • API Server • Controller Manager Server • Scheduler Server cluster    
  49. 50  

  50. 51    • Kubernetes(K8s) CLI • K8s 

    • @ @  • • DB •
  51. 52   (GitHub) ibm.biz/iks-handson

  52. !

  53. 54 

  54. 55 ) (24 Ib ec K S i /. /

    . /. ) K ec /. / . / /. . # / # # / b /. / . / /. . # / # # # / ) (24 3 1 M SK 3 ) dK SKB ) C) 14 b /. / . / /. . # / # / /# / C
  55. 56  ( - ) - ) I E )

    K P M ( - ) EBC
  56. 57  / / . i P V . .

    ( ae MS U K) . / ( ) . c Bb i d CK .. / ( MK S I ( ) . U VQ
  57. 58 

  58. 59 / 2 1 / S K O a 8

    a /s D / (&, ) 
  59. 60 Proxy Node Proxy Node Proxy Node Worker Node Worker

    Node Worker Node Worker Node Master Node Master Node Master Node Mgmnt Node Mgmnt Node Boot Node V . P I K C IBM Cloud Automation Manager M .   
  60. 61 . / . G & E & & &

    K
  61. 62 '&"  • )' &$ • )' • )'

    #! •   "(%   )'    )'   !   '&$%   &#  
  62. 63 ) T N . ( ( I A E

    @ / J ( ( Development & Deploy (e.g. P G D )
  63. 64 Helm  WSK . NQ Kubernetes B D E

    I M
  64. 65 C g 65 A C • IaaS r io

    SnNaGt g g aoNOM t P X // t P X IBM Cloud IBM Cloud Private / o Ae Ao vs eXc lA A Ø O AW B Sb o g ekAC • z F Sn Au • F io SnNa Sn A / 8 AdA / 8 8 /8/ zs Sn A Sn A Sn A IBM Cloud Automation Manager // K IG r t
  65. 66 and more… 

  66. 67 ./ / .

  67. 68 IBM Cloud Kubernetes Service (IKS) IBM Cloud Private (ICP)

             OSS  
  68. 69 IBM Cloud Private V3.1.x OGdo Ran G S DaM

    H A S d eG E D s IB D eo KLR QPI I vs agr /( A A IBM Z R M E ED D B ud tW utvs p /B D EC A ) ik K D hUa ot a Du Da ba AC Gl Go B C8 B D C B B D C C D a CI/CD D s Du r mG g lM J So hG ) BD odmG Do cDa cniW 2 TGb cnGPG ) TGb h i ) E fl C R Gvs / ( A 8DH gk A OpenWhisk 
  69. 70 IBM Cloud Kubernetes Service (IKS) r  @ p

    e r  K e @ &$ k8s API kubectl m !" n '%# Watson IoT Database  b asl c b u t