source-controller/internal
Hidde Beydals 6f3eb22613
controller: jitter requeue interval
This adds a `--interval-jitter-percentage` flag to the controller to
add a +/- percentage jitter to the interval defined in resources
(defaults to 10%).

Effectively, this results in a reconcilation every 4.5 - 5.5 minutes
for a resource with an interval of 5 minutes.

Main reason to add this change is to mitigate spikes in memory and
CPU usage caused by many resources being configured with the same
interval.

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-08-07 16:23:26 +02:00
..
cache cache: ensure new expiration is persisted 2023-08-01 17:34:25 +02:00
controller controller: jitter requeue interval 2023-08-07 16:23:26 +02:00
digest digest: register SHA1 digest algorithm 2023-02-14 12:48:36 +01:00
error Introduce Generic error and error Config 2022-05-20 19:52:03 +05:30
features gitrepo: remove `OptimizedGitClones` as a feature gate 2023-06-21 16:48:18 +05:30
fs test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00
helm archive helm index in JSON format 2023-08-07 16:10:03 +02:00
index controllers: use digest for Bucket revision 2023-02-14 12:48:36 +01:00
mock mock/gcs: strip /storage/v1 URI element 2022-03-16 11:16:47 +01:00
object Promote GitRepository API to v1 2023-03-23 23:17:23 +02:00
oci helm: add support for specifying TLS auth via `.spec.certSecretRef` 2023-07-31 13:29:17 +05:30
predicates [RFC 0002] Flux OCI support for Helm (#690) 2022-05-19 14:50:16 +02:00
reconcile Update controller-runtime (v0.15) and K8s (v1.27) 2023-05-24 09:05:42 +02:00
transport internal/helm/getter: remove transport reuse test 2022-06-14 09:25:52 +01:00
util Refactor internal OCI package 2022-09-20 18:34:02 +03:00