Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ kubectl apply -f "https://infra.tekton.dev/tekton-releases/pruner/previous/v$VER
kubectl get pods -n tekton-pipelines -l app=tekton-pruner-controller
```

**Resource Limits:**

Default limits based on benchmark data: controller 2Gi memory (supports ~50k runs), webhook 512Mi. CPU limits omitted to avoid throttling. Memory scales linearly: `memory_mb = 23 + (13.6 × runs_in_thousands)`.

### Important: v0.3.2 Retraction

**Version v0.3.2 has been retracted** from the Go module registry due to it being an unintended release. Users are recommended not to use v0.3.2.
Expand Down Expand Up @@ -169,4 +173,4 @@ data:

## License

Apache License 2.0 - See [LICENSE](LICENSE) for details
Apache License 2.0 - See [LICENSE](LICENSE) for details
6 changes: 6 additions & 0 deletions config/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ spec:
ports:
- name: metrics
containerPort: 9090
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
memory: 2Gi
env:
- name: SYSTEM_NAMESPACE
valueFrom:
Expand Down
6 changes: 6 additions & 0 deletions config/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ spec:
# This is the Go import path for the binary that is containerized
# and substituted here.
image: ko://github.com/tektoncd/pruner/cmd/webhook
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
memory: 512Mi
env:
- name: SYSTEM_NAMESPACE
valueFrom:
Expand Down
Loading