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

meetup_topic__1.pdf

ry
February 10, 2020

 meetup_topic__1.pdf

Kubernetes Wakaran Tokyo #1にて扱う問題です。

ry

February 10, 2020
Tweet

More Decks by ry

Other Decks in Education

Transcript

  1. Replicaͷੜ੒ • ೚ҙͷWorkloads ResourceΛ༻͍ͯɺ[1. Podͷ࡞੒]Ͱ࡞੒ͨ͠podΛ 4 replicaͷϦιʔεͱͯ͠࡞੒͍ͯͩ͘͠͞ɻ ·ͨɺͦͷWorkloads ResourceΛબ୒ͨ͠ཧ༝ʹ͍ͭͯ·ͱΊͯΈ·͠ΐ͏ɻ Workloads

    Resource: Pod, ReplicaSet, Deployment, DaemonSet, StatefulSet Updateઓུ • [3. Replicaͷੜ੒]ʹͯ࡞੒͞ΕϦιʔεʹ࢖༻͞Ε͍ͯΔnginxͷversionΛ1.17.7 ʹ্͛Α͏ͱߟ͍͑ͯ·͢ɻμ΢ϯλΠϜ͕ͳ͍Α͏ʹΞοϓσʔτΛ͢Δʹ͸ɺ ɹmanifestʹ͓͍ͯɺͲͷΑ͏ͳ͜ͱΛઃఆ͢Δඞཁ͕͋ΔͰ͠ΐ͏͔ɻ ɹཧ༝΋ؚΊͯɺmanifestΛߏ੒ͯ͠Έ͍ͯͩ͘͞ɻ
  2. ൃද಺༰ 1. [Replicaͷੜ੒]ʹ͓͍ͯɺ 1-1. ͲͷWorkloads ResourceΛબ୒ͨ͠ͷ͔ 1-2. ͳͥͦΕΛબ୒ͨ͠ͷ͔ 2. [Updateઓུ]ʹ͓͍ͯ

    2-1. ͲͷΑ͏ͳmanifestΛߏஙͨ͠ͷ͔ 2-2. manifestΛߏங͢Δʹ͋ͨΓɺԿΛߟྀͨ͠ͷ͔ (strategy΍maxSurge, maxUnavailableͳͲ)