<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Operations on LeaderWorkerSet &amp; DisaggregatedSet</title><link>/stable/docs/manage/</link><description>Recent content in Operations on LeaderWorkerSet &amp; DisaggregatedSet</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 28 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="/stable/docs/manage/index.xml" rel="self" type="application/rss+xml"/><item><title>Configure the controller manager</title><link>/stable/docs/manage/controller_configuration/</link><pubDate>Mon, 28 Sep 2026 00:00:00 +0000</pubDate><guid>/stable/docs/manage/controller_configuration/</guid><description>&lt;p&gt;The LeaderWorkerSet (LWS) controller manager reads its component configuration
from the file passed to the &lt;code&gt;--config&lt;/code&gt; flag. New configuration files should use
the stable &lt;code&gt;config.lws.x-k8s.io/v1&lt;/code&gt; API.&lt;/p&gt;
&lt;h2 id="configuration-example"&gt;Configuration example&lt;/h2&gt;
&lt;p&gt;The following configuration enables leader election and internal certificate
management. Fields that are not specified use their default values.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#204a87;font-weight:bold"&gt;apiVersion&lt;/span&gt;&lt;span style="color:#000;font-weight:bold"&gt;:&lt;/span&gt;&lt;span style="color:#f8f8f8;text-decoration:underline"&gt; &lt;/span&gt;&lt;span style="color:#000"&gt;config.lws.x-k8s.io/v1&lt;/span&gt;&lt;span style="color:#f8f8f8;text-decoration:underline"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f8f8f8;text-decoration:underline"&gt;&lt;/span&gt;&lt;span style="color:#204a87;font-weight:bold"&gt;kind&lt;/span&gt;&lt;span style="color:#000;font-weight:bold"&gt;:&lt;/span&gt;&lt;span style="color:#f8f8f8;text-decoration:underline"&gt; &lt;/span&gt;&lt;span style="color:#000"&gt;Configuration&lt;/span&gt;&lt;span style="color:#f8f8f8;text-decoration:underline"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f8f8f8;text-decoration:underline"&gt;&lt;/span&gt;&lt;span style="color:#204a87;font-weight:bold"&gt;leaderElection&lt;/span&gt;&lt;span style="color:#000;font-weight:bold"&gt;:&lt;/span&gt;&lt;span style="color:#f8f8f8;text-decoration:underline"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f8f8f8;text-decoration:underline"&gt; &lt;/span&gt;&lt;span style="color:#204a87;font-weight:bold"&gt;leaderElect&lt;/span&gt;&lt;span style="color:#000;font-weight:bold"&gt;:&lt;/span&gt;&lt;span style="color:#f8f8f8;text-decoration:underline"&gt; &lt;/span&gt;&lt;span style="color:#204a87;font-weight:bold"&gt;true&lt;/span&gt;&lt;span style="color:#f8f8f8;text-decoration:underline"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f8f8f8;text-decoration:underline"&gt;&lt;/span&gt;&lt;span style="color:#204a87;font-weight:bold"&gt;internalCertManagement&lt;/span&gt;&lt;span style="color:#000;font-weight:bold"&gt;:&lt;/span&gt;&lt;span style="color:#f8f8f8;text-decoration:underline"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f8f8f8;text-decoration:underline"&gt; &lt;/span&gt;&lt;span style="color:#204a87;font-weight:bold"&gt;enable&lt;/span&gt;&lt;span style="color:#000;font-weight:bold"&gt;:&lt;/span&gt;&lt;span style="color:#f8f8f8;text-decoration:underline"&gt; &lt;/span&gt;&lt;span style="color:#204a87;font-weight:bold"&gt;true&lt;/span&gt;&lt;span style="color:#f8f8f8;text-decoration:underline"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;When installing from source or with Kustomize, edit
&lt;a href="https://github.com/kubernetes-sigs/lws/blob/bd0cfc7163f5cc7738fd7590b2bb7c740cdc98dd/config/manager/controller_manager_config.yaml"&gt;&lt;code&gt;config/manager/controller_manager_config.yaml&lt;/code&gt;&lt;/a&gt;
before building or applying the manifests. The generated controller Deployment
mounts this configuration and passes its path with &lt;code&gt;--config&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Configure external cert-manager</title><link>/stable/docs/manage/cert_manager/</link><pubDate>Mon, 28 Apr 2025 00:00:00 +0000</pubDate><guid>/stable/docs/manage/cert_manager/</guid><description>&lt;p&gt;This page shows how you can a third party certificate authority solution like
Cert Manager.&lt;/p&gt;
&lt;h2 id="before-you-begin"&gt;Before you begin&lt;/h2&gt;
&lt;p&gt;Make sure the following conditions are set:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A Kubernetes cluster is running.&lt;/li&gt;
&lt;li&gt;The kubectl command-line tool has communication with your cluster.&lt;/li&gt;
&lt;li&gt;Cert Manager is &lt;a href="https://cert-manager.io/docs/installation/"&gt;installed&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;LWS supports either Kustomize or installation via a Helm chart.&lt;/p&gt;
&lt;h3 id="internal-certificate-management"&gt;Internal Certificate management&lt;/h3&gt;
&lt;p&gt;In all cases, LWS&amp;rsquo;s internal certificate management must be turned off
if one wants to use CertManager.&lt;/p&gt;</description></item><item><title>Configure Prometheus</title><link>/stable/docs/manage/prometheus/</link><pubDate>Mon, 28 Apr 2025 00:00:00 +0000</pubDate><guid>/stable/docs/manage/prometheus/</guid><description>&lt;p&gt;This page shows how you configure LWS to use prometheus metrics.&lt;/p&gt;
&lt;h2 id="before-you-begin"&gt;Before you begin&lt;/h2&gt;
&lt;p&gt;Make sure you the following conditions are set:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A Kubernetes cluster is running.&lt;/li&gt;
&lt;li&gt;The kubectl command-line tool has communication with your cluster.&lt;/li&gt;
&lt;li&gt;Prometheus is &lt;a href="https://prometheus-operator.dev/docs/getting-started/installation/"&gt;installed&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Cert Manager can be optionally &lt;a href="https://cert-manager.io/docs/installation/"&gt;installed&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;LWS supports either Kustomize or installation via a Helm chart.&lt;/p&gt;
&lt;h3 id="kustomize-installation"&gt;Kustomize Installation&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Enable &lt;code&gt;prometheus&lt;/code&gt; in &lt;code&gt;config/default/kustomization.yaml&lt;/code&gt; and uncomment all sections with &amp;lsquo;PROMETHEUS&amp;rsquo;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id="kustomize-prometheus-with-certificates"&gt;Kustomize Prometheus with certificates&lt;/h4&gt;
&lt;p&gt;If you want to enable TLS verification for the metrics endpoint, follow the directions below.&lt;/p&gt;</description></item></channel></rss>