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

Kubernetes The Hard Way をやってみた

loftkun
February 22, 2020

Kubernetes The Hard Way をやってみた

2020/02/22 プログラミング生放送勉強会 第61回@福岡
https://atnd.org/events/111530

loftkun

February 22, 2020
Tweet

More Decks by loftkun

Other Decks in Technology

Transcript

  1. 2020/02/22 3/:&+" 661';5*
    @loftkun

    View Slide

  2. : 4B9C
    M 、 M M
    : C2 /B7D3 /GA C9C 9/
    è je L

    View Slide

  3. View Slide

  4. View Slide

  5. View Slide

  6. gm
    2 Kubernetes
    3 Kubernetes The Hard Way

    View Slide

  7. gm

    View Slide

  8. ZgP K

    View Slide

  9. ce UK

    View Slide

  10. f
    ce UK

    View Slide

  11. fW K

    View Slide

  12. : C2 /B7D3 CB7 5 C 2/B7 jw
    : C2 /B7D3 347 7B7 D
    mH H M H
    ihl f i jT eH M i M (Two
    tl ju x r I Zl M l jH H M
    H M H M HTwoー VPyr I
    Z xl jwyH H HTwo lP V r I Z
    x i g s ZgfH m lP ! l f
    Ud hTyj RZgVfWr I
    : C2 /B7D3 CB7 5 C 2/B7 mH M M f M) l
    eHZl l g Ser I bm l
    M 。 HZ xl M uV fW wRj r I

    View Slide

  13. 6BB A 57B6C0 1 1 14 B 1 0: 0 /[email protected] ( 2
    • M

    • VP
    • v
    • fP

    • ! l f
    • j
    • yj
    • lP fW

    View Slide

  14. 6BB A 57B6C0 1 1 14 [email protected]/7: /
    ( & . (
    & (& ( ( (
    & (- -
    & & ,- &-
    ( & -
    (& )( ( ( &
    (&
    ( & & (&- &) (
    ( & (& )(

    View Slide

  15. https://landscape.cncf.io/

    View Slide

  16. https://landscape.cncf.io/
    [email protected] 3B3A

    View Slide

  17. View Slide

  18. ZgVP K

    View Slide

  19. c ZgVP K

    View Slide

  20. f ce K

    View Slide

  21. 6BB A 57B6C0 1 [email protected] 3B3A [email protected] 3B3A wy
    • : C2 /B7D3 CB7 5 C 2/B7 V
    • l f M
    • 23 : G /7 B3 / 13 A1/:7 5l i
    [email protected] 3B3A wy
    • ー i M N OjwceH
    v・ M fW tH [email protected]/[email protected]@3 A 23

    View Slide

  22. 6BB A [email protected] 3B3A 7 2 1A 1 13 BA [email protected] 1 3 BA
    key-value
    store
    !-)
    !
    .# !!

    !
    1 [email protected] : :/ 3
    /[email protected] M E @[email protected] M
    Pod72

    !(0%,


    Pod
    9:

    View Slide

  23. [email protected] 3B3A (63 /@2 /G

    View Slide

  24. • 3:A3G 756B [email protected] V e M
    • https://github.com/kelseyhightower/kubernetes-the-hard-way
    • lwRi M [email protected] 3B3Am i
    • 7 79C03 97 2lwRi M f [email protected] 3B3A b Y M
    u i
    • jrc xl ee f (
    • q

    View Slide

  25. @[email protected] C7A7B3A 2 5:3 : C2 :/B4 @ l M
    1:73 B B :A 2 9C031B:ihl M
    1 CB3 @3A [email protected] 2 [email protected]/:: C0:71 F
    [email protected]/B3 /CB6 @7BG 2 ?l
    [email protected] 3B3A 1 [email protected]/B7 47:3A 2 C031 475A
    2/B/ 3 [email protected] B7 93GA 2 Ml
    0 [email protected]/ 7 5 3B12 2 3B12 Ml (
    0 [email protected]/ 7 5 [email protected] 3B3A 1 [email protected] ::[email protected] 2 [email protected] : :/ 3l (
    0 [email protected]/ 7 5 [email protected] 3B3A E @[email protected] 2 @[email protected] 23Al (
    1 [email protected] 5 9C031B: 2 9C031B:l
    2 3BE @9 @ CB3A 2 2 3BE @9 & CB3Al
    2 A /22 2 l
    A 93 B3AB 2
    1:3/ C 2 M
    6BB A 57B6C0 1 93:A3G6756B [email protected] [email protected] 3B3A B63 6/@2 E/G

    View Slide

  26. @[email protected] C7A7B3A 2 5:3 : C2 :/B4 @ l M
    1:73 B B :A 2 9C031B:ihl M
    1 CB3 @3A [email protected] 2 [email protected]/:: C0:71 F
    [email protected]/B3 /CB6 @7BG 2 ?l
    [email protected] 3B3A 1 [email protected]/B7 47:3A 2 C031 475A
    2/B/ 3 [email protected] B7 93GA 2 Ml
    0 [email protected]/ 7 5 3B12 2 3B12 Ml (
    0 [email protected]/ 7 5 [email protected] 3B3A 1 [email protected] ::[email protected] 2 [email protected] : :/ 3l (
    0 [email protected]/ 7 5 [email protected] 3B3A E @[email protected] 2 @[email protected] 23Al (
    1 [email protected] 5 9C031B: 2 9C031B:l
    2 3BE @9 @ CB3A 2 2 3BE @9 & CB3Al
    2 A /22 2 l
    A 93 B3AB 2
    1:3/ C 2 M
    6BB A 57B6C0 1 93:A3G6756B [email protected] [email protected] 3B3A B63 6/@2 E/G

    View Slide

  27. View Slide

  28. 6BB A 57B6C0 1 93:A3G6756B [email protected] [email protected] 3B3A B63 6/@2 E/G 0: 0 /[email protected] 2 1A 1 CB3 @3A [email protected] 2

    View Slide

  29. https://github.com/kelseyhightower/kubernetes-the-hard-way/blob/master/docs/07-bootstrapping-etcd.md
    https://github.com/kelseyhightower/kubernetes-the-hard-way/blob/master/docs/08-bootstrapping-kubernetes-controllers.md
    key-value
    store
    !-)
    !
    .#
    !!

    !

    View Slide

  30. 6BB A 57B6C0 1 93:A3G6756B [email protected] [email protected] 3B3A B63 6/@2 E/G 0: 0 /[email protected] 2 1A 1 CB3 @3A [email protected] 2

    View Slide

  31. https://github.com/kelseyhightower/kubernetes-the-hard-way/blob/master/docs/07-bootstrapping-etcd.md
    https://github.com/kelseyhightower/kubernetes-the-hard-way/blob/master/docs/08-bootstrapping-kubernetes-controllers.md
    Pod72


    Pod
    9:

    View Slide

  32. View Slide

  33. [email protected] 3B3A wy
    • ー i M N OjwceH
    v・ M fW tH [email protected]/[email protected]@3 A 23

    View Slide

  34. 3 : G 3 B
    [email protected] 3B3Al M l d
    M M H M fW
    @3 :71/A
    2 M l ! I d l I l
    7 /53 M j 57 F @ / /

    View Slide

  35. View Slide

  36. View Slide

  37. 4$81 : https://kei.pronama.jp/download/

    View Slide

  38. View Slide

  39. View Slide

  40. rgt

    View Slide

  41. • H [email protected] 3B3Ajd e r
    [email protected] 3B3A (63 /@2 /G jd e r
    • ( m /@2fmi I m e e
    • a UU I u t g m
    [email protected] 3B3A lull jmw
    • l ihm e i
    • iyj qe y VP

    • ( ceH l V ー y
    j g R [email protected] 3B3Al r
    • j fWr L

    View Slide

  42. View Slide





  43. View Slide

  44. • pXnke
    l
    j l f L
    6BB A [email protected] 3B3A 1 /AA 1
    • : C2 /B7D3 /GA C9C 9/
    6BB A 1: C2 /B7D32/GA 8
    je L

    View Slide