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

Kubernetesの ダークカナリアリリースツールを作った話

Kubernetesの ダークカナリアリリースツールを作った話

t10471

May 18, 2018
Tweet

More Decks by t10471

Other Decks in Technology

Transcript

  1. ϦϦʔε blue ϦϦʔε service label: green μʔΫΧφϦΞϦϦʔε service label: green

    green deployment Λ؂ࢹ green greenͷpodΛঃʑʹ૿΍͠ blue ͷpodΛঃʑʹݮΒ͢ نఆ਺ʹୡͨ͠Βgreen deployment Λ؂ࢹ͢Δ
  2. ίϚϯυ • info • ݱࡏͷঢ়ଶΛݟΔ • show • σϓϩΠ͍ͨ͠deployment.yamlΛݟΔ •

    deployment.yaml͸ςϯϓϨʔτʹͳ͍ͬͯΔͷͰɺͦ͜Λࢦఆͨ͠؀ڥͷม ਺ͰຒΊͯ͘ΕΔ • diff • ݱࡏͷঢ়ଶͱϦϦʔε͍ͨ͠΋ͷͷࠩ෼ΛݟΔ • deploydc • μʔΫΧφϦΞϦϦʔεΛߦ͏ • diffbg • blueλάͱgreenλάͷࠩ෼ΛݟΔ • deploy • μʔΫΧφϦΞϦϦʔεΛߦͬͨํ޲ʹserviceͱhpaΛ޲͚Δpodͷ਺Λௐ੔ ͢Δ