<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mtiit</author_name>
  <author_url>https://blog.hatena.ne.jp/mtiit/</author_url>
  <blog_title>(O+P)ut</blog_title>
  <blog_url>https://www.mtioutput.com/</blog_url>
  <categories>
    <anon>DevOps</anon>
    <anon>DevOps-Kubernetes</anon>
  </categories>
  <description>やりたいこと Kubernetesにおいて以下のようなロールアウト機能を用いたデプロイではなく 全てのポッドを一気に変更したい。 環境情報 Windows 10 Enterprise Docker Desktop 2.2.0 やり方 deploymentのyamlファイルに以下の文言を追記する。 strategy: type: Recreate 以下、解説です。 解説 冒頭の参考記事にあるように指定をせずにkubectl apply -f deployment.yamlを行うとローリングアップデート（RollingUpdate）と呼ばれる順々に新しいポッドが増えていきます。一方で旧Podを全て…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mtioutput.com%2Fentry%2Fkube-deploy-recreate&quot; title=&quot;【Kubernetes】Recreateを指定するデプロイ方法 - (O+P)ut&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mtiit/20191108/20191108224019.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-12 00:00:00</published>
  <title>【Kubernetes】Recreateを指定するデプロイ方法</title>
  <type>rich</type>
  <url>https://www.mtioutput.com/entry/kube-deploy-recreate</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
