diff --git a/cmd/manager/main.go b/cmd/manager/main.go index 130d3830b..0a9a97256 100644 --- a/cmd/manager/main.go +++ b/cmd/manager/main.go @@ -399,6 +399,9 @@ func main() { cacheMonitor = cache.NewMonitor("cortex_") cacheWrapper = cache.NewWrapper(mgr, c.Cache, cacheMonitor) multiclusterClient.Wrappers = append(multiclusterClient.Wrappers, cacheWrapper) + setupLog.Info("overlay cache enabled", "gvks", c.Cache.GVKs, "ttl", c.Cache.TTL.Duration.String()) + } else { + setupLog.Info("overlay cache disabled") } if err := multiclusterClient.InitFromConf(ctx, mgr, multiclusterClientConfig); err != nil { setupLog.Error(err, "unable to initialize multicluster client") diff --git a/helm/bundles/cortex-nova/values.yaml b/helm/bundles/cortex-nova/values.yaml index 101b1e3ad..393c88da2 100644 --- a/helm/bundles/cortex-nova/values.yaml +++ b/helm/bundles/cortex-nova/values.yaml @@ -90,12 +90,6 @@ kvm: # skipped by the filter, even if they match one of the prefixes above. ignoredDomainNames: [] -# Cache configuration for the transparent in-process overlay cache. -cache: - enabled: true - gvks: - - cortex.cloud/v1alpha1/Reservation - cortex: &cortex crd: {enable: false} # Disable the default ServiceMonitor and metrics service from the kubebuilder stack. @@ -104,6 +98,12 @@ cortex: &cortex prometheus: {enable: false} conf: &cortexConf schedulingDomain: nova + # Cache configuration for the transparent in-process overlay cache. + cache: + enabled: true + gvks: + - cortex.cloud/v1alpha1/Reservation + - cortex.cloud/v1alpha1/CommittedResource apiservers: home: gvks: