<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lirlia</author_name>
  <author_url>https://blog.hatena.ne.jp/lirlia/</author_url>
  <blog_title>フラミナル</blog_title>
  <blog_url>https://blog.framinal.life/</blog_url>
  <categories>
    <anon>Kubernetes</anon>
  </categories>
  <description>ユースケースとしてマルチクラスタのKubernetesなどを利用している場合、同じPodであってもロケーションや役割によってびみょーにやりたいことや振る舞いを変えたいケースがあります。かといって少しづつ変更するのは面倒…。 たいていのケースの場合、マルチクラスタ管理する側で対象のNodeの属性などをlabelやannotationとしてpodに情報を追加してくれています。ですのでこれによって振る舞いを変えてみましょう。 全体像 sidecarやinit-container、振る舞いをかえるappについては省略します。。。(そんなに難しい話でもないので) annotations/labelをマウ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.framinal.life%2Fentry%2F2021%2F03%2F19%2F143117&quot; title=&quot;Podにannotationやlabel情報をマウントして環境ごとに振る舞いを変えられるようにする - フラミナル&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://live.staticflickr.com/4735/25307368068_9c52fec92b_c.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-03-19 14:31:17</published>
  <title>Podにannotationやlabel情報をマウントして環境ごとに振る舞いを変えられるようにする</title>
  <type>rich</type>
  <url>https://blog.framinal.life/entry/2021/03/19/143117</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
