<p>Is it possible get list of nodes instance with prometheus. I have a node exporter but I don't see metrics like that.</p>

<p>Should we add a new operator?</p>

M.Hol
<p>You can use <a href="https://github.com/kubernetes/kube-state-metrics" rel="nofollow noreferrer">kube-state-metrics</a> for this purpose.</p>

<blockquote>
  <p>kube-state-metrics is about generating metrics from Kubernetes API
  objects without modification. This ensures, that features provided by
  kube-state-metrics have the same grade of stability as the Kubernetes
  API objects themselves. In turn this means, that kube-state-metrics in
  certain situations may not show the exact same values as kubectl, as
  kubectl applies certain heuristics to display comprehensible messages.
  kube-state-metrics exposes raw data unmodified from the Kubernetes
  API, this way users have all the data they require and perform
  heuristics as they see</p>
</blockquote>

<p>You can find node metrics <a href="https://github.com/kubernetes/kube-state-metrics/blob/master/docs/node-metrics.md" rel="nofollow noreferrer">here</a>.
For example:</p>

<pre><code>Metric name: kube_node_info
node=&lt;node-address&gt; 
kernel_version=&lt;kernel-version&gt; 
os_image=&lt;os-image-name&gt; 
container_runtime_version=&lt;container-runtime-and-version-combination&gt; 
kubelet_version=&lt;kubelet-version&gt; 
kubeproxy_version=&lt;kubeproxy-version&gt; 
provider_id=&lt;provider-id
</code></pre>
