Configuring Resource Quotas for Trigger Components
Overview
Configure resource quotas related to the Trigger component.
Use Cases
- Adjust the resource quotas for Trigger control plane components
- Tune replica count and CPU/memory settings for Trigger Deployments based on cluster load
Prerequisites
- The Tekton Operator component must be installed
- TektonConfig resources must have been automatically created in the environment
- The document on Adjusting Optional Configuration Items for Subcomponents should be read
Resource Configuration Guidelines
Before configuring resource quotas:
- Assess your cluster's available resources and capacity
- Consider your webhook traffic pattern and peak event load
- Start with conservative values and adjust based on monitoring data
- Test configurations in non-production environments first
Steps
Step 1
Edit the TektonConfig resource.
Step 2
WARNING
Modifying the configuration may trigger a rolling update of the component Pods, which could lead to temporary service unavailability. Please execute this at an appropriate time.
Example of modifying the spec.trigger.options.deployments configuration:
Step 3
Submit the configuration and wait for the Pods to update.
Operation Result
You can see that the resource quota configurations for Trigger related components are effective.