<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>int128</author_name>
  <author_url>https://blog.hatena.ne.jp/int128/</author_url>
  <blog_title>GeekFactory</blog_title>
  <blog_url>https://int128.hatenablog.com/</blog_url>
  <categories>
    <anon>Kubernetes</anon>
    <anon>Prometheus</anon>
    <anon>Grafana</anon>
    <anon>Helm</anon>
  </categories>
  <description>TL;DR KubernetesのPersistent Volumesの容量をPrometheusで取得するには以下のMetricsを使用する。 kubelet_volume_stats_available_bytes （使用可能バイト数） kubelet_volume_stats_used_bytes （使用済みバイト数） kubelet_volume_stats_capacity_bytes （容量） Namespaceやノード名などでフィルタできる。 削除済みのPersistent Volumesも返されるが、今のところフィルタする方法はなさそう。 具体的な方法と例 HelmでNames…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fint128.hatenablog.com%2Fentry%2F2018%2F02%2F18%2F153956&quot; title=&quot;Prometheus/GrafanaでPersistent Volumesの空き容量を取得する - GeekFactory&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/i/int128/20180218/20180218153328.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-02-18 15:39:56</published>
  <title>Prometheus/GrafanaでPersistent Volumesの空き容量を取得する</title>
  <type>rich</type>
  <url>https://int128.hatenablog.com/entry/2018/02/18/153956</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
