<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Reference on Jobset</title><link>/docs/reference/</link><description>Recent content in Reference on Jobset</description><generator>Hugo</generator><language>en</language><atom:link href="/docs/reference/index.xml" rel="self" type="application/rss+xml"/><item><title>Prometheus Metrics</title><link>/docs/reference/metrics/</link><pubDate>Mon, 14 Feb 2022 00:00:00 +0000</pubDate><guid>/docs/reference/metrics/</guid><description>&lt;h2 id="prometheus-metrics">Prometheus Metrics&lt;/h2>
&lt;p>JobSet exposes &lt;a href="https://prometheus.io">prometheus&lt;/a> metrics to monitor the health
of the controller.&lt;/p>
&lt;h2 id="installation-examples">Installation Examples&lt;/h2>
&lt;p>The following &lt;a href="https://github.com/kubernetes-sigs/jobset/tree/main/site/static/examples/prometheus-operator">example&lt;/a> show how to install the Prometheus Operator for JobSet system.&lt;/p>
&lt;h2 id="jobset-controller-health">JobSet controller health&lt;/h2>
&lt;p>Use the following metrics to monitor the health of the jobset controller:&lt;/p>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>Metric name&lt;/th>
 &lt;th>Type&lt;/th>
 &lt;th>Description&lt;/th>
 &lt;th>Labels&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>&lt;code>controller_runtime_reconcile_errors_total&lt;/code>&lt;/td>
 &lt;td>Counter&lt;/td>
 &lt;td>The total number of reconciliation errors encountered by each controller.&lt;/td>
 &lt;td>&lt;code>controller&lt;/code>: name of controller (i.e. use value &lt;code>jobset&lt;/code> to obtain metrics for jobset controller)&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>controller_runtime_reconcile_time_seconds&lt;/code>&lt;/td>
 &lt;td>Histogram&lt;/td>
 &lt;td>The latency of a reconciliation attempt in seconds.&lt;/td>
 &lt;td>&lt;code>controller&lt;/code>: name of controller (i.e. use value &lt;code>jobset&lt;/code> to obtain metrics for jobset controller)&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;h2 id="jobset-metrics">JobSet metrics&lt;/h2>
&lt;p>Use the following metrics to monitor the health of the jobsets created by the jobset controller:&lt;/p></description></item><item><title>JobSet API</title><link>/docs/reference/jobset.v1alpha2/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/reference/jobset.v1alpha2/</guid><description>&lt;h2 id="resource-types">Resource Types&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="/docs/reference/jobset.v1alpha2/#jobset-x-k8s-io-v1alpha2-JobSet">JobSet&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="jobset-x-k8s-io-v1alpha2-JobSet">&lt;code>JobSet&lt;/code> &lt;/h2>
&lt;p>&lt;strong>Appears in:&lt;/strong>&lt;/p>
&lt;p>JobSet is the Schema for the jobsets API&lt;/p>
&lt;table class="table">
&lt;thead>&lt;tr>&lt;th width="30%">Field&lt;/th>&lt;th>Description&lt;/th>&lt;/tr>&lt;/thead>
&lt;tbody>
&lt;tr>&lt;td>&lt;code>apiVersion&lt;/code>&lt;br/>string&lt;/td>&lt;td>&lt;code>jobset.x-k8s.io/v1alpha2&lt;/code>&lt;/td>&lt;/tr>
&lt;tr>&lt;td>&lt;code>kind&lt;/code>&lt;br/>string&lt;/td>&lt;td>&lt;code>JobSet&lt;/code>&lt;/td>&lt;/tr>
&lt;tr>&lt;td>&lt;code>spec&lt;/code> &lt;B>[Required]&lt;/B>&lt;br/>
&lt;a href="#jobset-x-k8s-io-v1alpha2-JobSetSpec">&lt;code>JobSetSpec&lt;/code>&lt;/a>
&lt;/td>
&lt;td>
 &lt;p>spec is the specification for jobset&lt;/p>
&lt;/td>
&lt;/tr>
&lt;tr>&lt;td>&lt;code>status&lt;/code> &lt;B>[Required]&lt;/B>&lt;br/>
&lt;a href="#jobset-x-k8s-io-v1alpha2-JobSetStatus">&lt;code>JobSetStatus&lt;/code>&lt;/a>
&lt;/td>
&lt;td>
 &lt;p>status is the status of the jobset&lt;/p>
&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;h2 id="jobset-x-k8s-io-v1alpha2-Coordinator">&lt;code>Coordinator&lt;/code> &lt;/h2>
&lt;p>&lt;strong>Appears in:&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>&lt;a href="/docs/reference/jobset.v1alpha2/#jobset-x-k8s-io-v1alpha2-JobSetSpec">JobSetSpec&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>Coordinator defines which pod can be marked as the coordinator for the JobSet workload.&lt;/p>
&lt;table class="table">
&lt;thead>&lt;tr>&lt;th width="30%">Field&lt;/th>&lt;th>Description&lt;/th>&lt;/tr>&lt;/thead>
&lt;tbody>
&lt;tr>&lt;td>&lt;code>replicatedJob&lt;/code> &lt;B>[Required]&lt;/B>&lt;br/>
&lt;code>string&lt;/code>
&lt;/td>
&lt;td>
 &lt;p>replicatedJob is the name of the ReplicatedJob which contains
the coordinator pod.&lt;/p></description></item></channel></rss>