<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zaki-hmkc</author_name>
  <author_url>https://blog.hatena.ne.jp/zaki-hmkc/</author_url>
  <blog_title>zaki work log</blog_title>
  <blog_url>https://zaki-hmkc.hatenablog.com/</blog_url>
  <categories>
    <anon>Kubernetes</anon>
    <anon>OpenShift</anon>
    <anon>朝活</anon>
    <anon>tech</anon>
  </categories>
  <description>grepやawkが便利なのでそれ使うのもいいけど… ラベル ラベル一覧を表示する 指定ラベルを出力カラムの一つとして表示する 指定ラベルを持つリソース(今回はpod)のみ表示する jsonpath 特定リソースの指定項目を表示 podのIPアドレスとデプロイしているノード名 ラベルにヒットした全リソースの指定項目 複数の項目 コンテナ一覧 jsonpathでフィルター 確認した環境はOpenShift 3.11(OKD)上で、kubectl使用。ocでも動きは同じ。 custom-columnsを使った例はこちら zaki-hmkc.hatenablog.com ラベル ラベルはKuberne…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzaki-hmkc.hatenablog.com%2Fentry%2F2019%2F12%2F30%2F093754&quot; title=&quot;ラベルとjsonpathを使ったkubectl/ocの出力のフィルタリング - zaki work log&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>2019-12-30 09:37:54</published>
  <title>ラベルとjsonpathを使ったkubectl/ocの出力のフィルタリング</title>
  <type>rich</type>
  <url>https://zaki-hmkc.hatenablog.com/entry/2019/12/30/093754</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
