Skip to content
Closed
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
3 changes: 3 additions & 0 deletions cmd/manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
12 changes: 6 additions & 6 deletions helm/bundles/cortex-nova/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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:
Expand Down
Loading