Overview
This guide explains how to customize your Sawmills collector deployment in Kubernetes. Follow the steps below based on whether you’re installing a new collector or updating an existing one.NEW Sawmills Collector
- Log in to the Sawmills dashboard.
- Navigate to the Collectors section (located at the bottom tab of the left navigation menu).
- Click the
New Collectorbutton and follow the instructions to install the agent with your organization API key.
EXISTING Sawmills Collector
- Log in to the Sawmills dashboard.
- Navigate to Collector Management.
- Click on an existing collector to access its management page.
Customizing the Sawmills Collector Installation
Install or Upgrade Collector Using Helm Values
To install a new automatically managed collector or update an existing one, copy the remote operator Helm command shown in the Sawmills UI. It includes the chart version and controller address for your environment:Note: For first-time installations, you must create the namespace and secret as described in Create a New Collector.For manually managed collectors, Sawmills generates collector chart metadata and values files instead of applying collector changes automatically. See Manual Collector Deployment.
Updating Collector Values
The remote operator deploys the collector to your Kubernetes cluster. To modify collector values, update themanagedChartsValues.sawmills-collector section in your values.yaml file and then upgrade the remote operator. The legacy key managedCharts continues to work as an alias, but managedChartsValues is the preferred field going forward.
After modifying the remote operator values, the collector should automatically redeploy.
Example: To add a nodeSelector to the collector, update the managedChartsValues.sawmills-collector section:
Overriding the collector chart (private registries)
If you need the operator to pull the collector chart from a private registry or pin a different chart version, setmanagedChartsOverrides:
managedChartsOverrides only for chart reference/version. Continue using managedChartsValues for regular values (replicas, image tags, tolerations, etc.).
After making changes, run the following command to update the remote operator:
Important: After adding newnodeSelector,podAntiAffinity, or similar configuration options, you must redeploy the pipeline for the changes to take effect.
Manual Deployment Values Ownership
For manually managed collectors, keep Sawmills-generated values separate from customer-owned overrides:sawmills-generated.values.yaml: generated by Sawmills for the deployed pipelines; do not edit it manually.sawmills-customer-overrides.yaml: customer-owned overrides for scheduling, resources, annotations, and environment-specific Helm values.
Collector Values File Options
The following configuration options are available in your values file under themanagedChartsValues.sawmills-collector section (or the legacy managedCharts.sawmills-collector alias):