TAP fluxcd-source-controller requires more memory due to huge size of the and higher number of repositories
search cancel

TAP fluxcd-source-controller requires more memory due to huge size of the and higher number of repositories

book

Article ID: 381743

calendar_today

Updated On:

Products

VMware Tanzu Platform Vmware Tanzu Platform - SM

Issue/Introduction

TAP fluxcd-source-controller requires more memory due to huge size of the and higher number of repositories because source controller uses in memory caching.

Cause

Flux community has mentioned that we need to increase the source controller memory based on number/size of repositories.

Resolution

Flux repos is supposed to contain only the YAML manifests. So these repos should be trimmed to contain the relevant data and remove the files not required by flux or create a new repo with relevant contents.

Another thing which can be tried is, using excluding-files option to ignore files which is not required by flux. Please note, we should restart source controller after updating repos for this approach.