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 full-size slide

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

    View full-size slide

  3. gm
    2 Kubernetes
    3 Kubernetes The Hard Way

    View full-size slide

  4. : 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 full-size slide

  5. 6BB A 57B6C0 1 1 14 B 1 0: 0 /AB3@ ( 2
    • M

    • VP
    • v
    • fP

    • ! l f
    • j
    • yj
    • lP fW

    View full-size slide

  6. 6BB A 57B6C0 1 1 14 B@/7: /
    ( & . (
    & (& ( ( (
    & (- -
    & & ,- &-
    ( & -
    (& )( ( ( &
    (&
    ( & & (&- &) (
    ( & (& )(

    View full-size slide

  7. https://landscape.cncf.io/

    View full-size slide

  8. https://landscape.cncf.io/
    C03@ 3B3A

    View full-size slide

  9. 6BB A 57B6C0 1 9C03@ 3B3A 9C03@ 3B3A wy
    • : C2 /B7D3 CB7 5 C 2/B7 V
    • l f M
    • 23 : G /7 B3 / 13 A1/:7 5l i
    C03@ 3B3A wy
    • ー i M N OjwceH
    v・ M fW tH 4@/AB@C1BC@3 A 23

    View full-size slide

  10. 6BB A 9C03@ 3B3A 7 2 1A 1 13 BA D3@D73E 1 3 BA
    key-value
    store
    !-)
    !
    .# !!

    !
    1 B@ : :/ 3
    /AB3@ M E @93@ M
    Pod72

    !(0%,


    Pod
    9:

    View full-size slide

  11. C03@ 3B3A (63 /@2 /G

    View full-size slide

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

    View full-size slide

  13. @3@3 C7A7B3A 2 5:3 : C2 :/B4 @ l M
    1:73 B B :A 2 9C031B:ihl M
    1 CB3 @3A C@13A 2 7@3E/:: C0:71 F
    13@B7471/B3 /CB6 @7BG 2 ?l
    9C03@ 3B3A 1 475C@/B7 47:3A 2 C031 475A
    2/B/ 3 1@G B7 93GA 2 Ml
    0 BAB@/ 7 5 3B12 2 3B12 Ml (
    0 BAB@/ 7 5 9C03@ 3B3A 1 B@ ::3@A 2 B@ : :/ 3l (
    0 BAB@/ 7 5 9C03@ 3B3A E @93@A 2 @93@ 23Al (
    1 475C@7 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 E3@ C03@ 3B3A B63 6/@2 E/G

    View full-size slide

  14. @3@3 C7A7B3A 2 5:3 : C2 :/B4 @ l M
    1:73 B B :A 2 9C031B:ihl M
    1 CB3 @3A C@13A 2 7@3E/:: C0:71 F
    13@B7471/B3 /CB6 @7BG 2 ?l
    9C03@ 3B3A 1 475C@/B7 47:3A 2 C031 475A
    2/B/ 3 1@G B7 93GA 2 Ml
    0 BAB@/ 7 5 3B12 2 3B12 Ml (
    0 BAB@/ 7 5 9C03@ 3B3A 1 B@ ::3@A 2 B@ : :/ 3l (
    0 BAB@/ 7 5 9C03@ 3B3A E @93@A 2 @93@ 23Al (
    1 475C@7 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 E3@ C03@ 3B3A B63 6/@2 E/G

    View full-size slide

  15. 1 B@ :
    :/ 3
    E @93@
    23A

    View full-size slide

  16. 6BB A 57B6C0 1 93:A3G6756B E3@ 9C03@ 3B3A B63 6/@2 E/G 0: 0 /AB3@ 2 1A 1 CB3 @3A C@13A 2

    View full-size slide

  17. 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 full-size slide

  18. 6BB A 57B6C0 1 93:A3G6756B E3@ 9C03@ 3B3A B63 6/@2 E/G 0: 0 /AB3@ 2 1A 1 CB3 @3A C@13A 2

    View full-size slide

  19. 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 full-size slide

  20. C03@ 3B3A wy
    • ー i M N OjwceH
    v・ M fW tH 4@/AB@C1BC@3 A 23

    View full-size slide

  21. 3 : G 3 B
    9C03@ 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 full-size slide

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

    View full-size slide

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

    • ( ceH l V ー y
    j g R C03@ 3B3Al r
    • j fWr L

    View full-size slide





  24. View full-size slide

  25. • pXnke
    l
    j l f L
    6BB A 4C9C03@ 3B3A 1 /AA 1
    • : C2 /B7D3 /GA C9C 9/
    6BB A 1: C2 /B7D32/GA 8
    je L

    View full-size slide