<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hatappi1225</author_name>
  <author_url>https://blog.hatena.ne.jp/hatappi1225/</author_url>
  <blog_title>hatappi.blog</blog_title>
  <blog_url>https://hatappi.blog/</blog_url>
  <categories>
  </categories>
  <description>たまーにやりたいときがあるけど毎回忘れるのでメモ やりたいこと 今回は Kubernetes Pod 内の起動中の Container で iptables を確認します。 対象のコンテナが iptables コマンドをもっていて securityContext. capabilities に NET_ADMIN があれば kubectl exec [pod name] -- iptables で確認できます。iptables コマンドが入ってることはあるかもしれませんが NET_ADMIN は何か理由がないと付与しないと思うので実現するためには manifest の更新が必要になるため Po…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhatappi.blog%2Fentry%2F2024%2F03%2F29%2F090000&quot; title=&quot;Kubernetes Pod 内の起動中の Container で iptables を確認したい - hatappi.blog&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-03-29 09:00:00</published>
  <title>Kubernetes Pod 内の起動中の Container で iptables を確認したい</title>
  <type>rich</type>
  <url>https://hatappi.blog/entry/2024/03/29/090000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
