1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

increase memory limit to 256 Mi

This commit is contained in:
Shuting Zhao 2020-12-15 17:55:01 -08:00
parent 5ecdfda4e0
commit 8b1d84f32c
6 changed files with 3043 additions and 910 deletions

File diff suppressed because it is too large Load diff

View file

@ -45,7 +45,7 @@ extraArgs: []
resources:
limits:
memory: 128Mi
memory: 256Mi
requests:
cpu: 100m
memory: 50Mi

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -70,7 +70,7 @@ spec:
memory: "50Mi"
cpu: "100m"
limits:
memory: "128Mi"
memory: "256Mi"
livenessProbe:
httpGet:
path: /health/liveness

View file

@ -35,7 +35,7 @@ type ResourceCache struct {
GVRCacheData map[string]*GVRCache
}
// NewResourceCache - initializes the ResourceCache where it initially stores the GVR and Namespaced codition for the allowed resources in GVRCacheData
// NewResourceCache - initializes the ResourceCache where it initially stores the GVR and Namespaced condition for the allowed resources in GVRCacheData
func NewResourceCache(log logr.Logger, config *rest.Config, dclient *dclient.Client, match []string, exclude []string) (ResourceCacheIface, error) {
logger := log.WithName("resourcecache")
discoveryIface := dclient.GetDiscoveryCache()