Skip to content

Commit

Permalink
Merge pull request #196 from gianlucam76/limits
Browse files Browse the repository at this point in the history
Increase memroy limits to 512Mi
  • Loading branch information
gianlucam76 authored May 28, 2024
2 parents 2c83f04 + d4f5936 commit b0dec82
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ARCH ?= amd64
OS ?= $(shell uname -s | tr A-Z a-z)
K8S_LATEST_VER ?= $(shell curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)
export CONTROLLER_IMG ?= $(REGISTRY)/$(IMAGE_NAME)
TAG ?= main
TAG ?= dev

## Tool Binaries
CONTROLLER_GEN := $(TOOLS_BIN_DIR)/controller-gen
Expand Down
2 changes: 1 addition & 1 deletion config/default/manager_image_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ spec:
spec:
containers:
# Change the value of image field below to your controller image URL
- image: projectsveltos/drift-detection-manager:main
- image: projectsveltos/drift-detection-manager:dev
name: manager
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
resources:
limits:
cpu: 500m
memory: 256Mi
memory: 512Mi
requests:
cpu: 10m
memory: 128Mi
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/onsi/ginkgo/v2 v2.17.3
github.com/onsi/gomega v1.33.1
github.com/pkg/errors v0.9.1
github.com/projectsveltos/libsveltos v0.30.1-0.20240517095820-fd9879699f8d
github.com/projectsveltos/libsveltos v0.30.0
github.com/spf13/pflag v1.0.5
k8s.io/api v0.30.0
k8s.io/apiextensions-apiserver v0.30.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/projectsveltos/libsveltos v0.30.1-0.20240517095820-fd9879699f8d h1:d1G4ply9nNevRGD3NEhdaL6/5EzaDmA6gvevOUcvBDU=
github.com/projectsveltos/libsveltos v0.30.1-0.20240517095820-fd9879699f8d/go.mod h1:oy1tEoNFG6iWp1BizxEY2HOt5ytpXaaWivzz4EFElvY=
github.com/projectsveltos/libsveltos v0.30.0 h1:kpKzVMAgoCSrw9S8VAo5kogDxgkRBLWKnLnsGNOa8I8=
github.com/projectsveltos/libsveltos v0.30.0/go.mod h1:oy1tEoNFG6iWp1BizxEY2HOt5ytpXaaWivzz4EFElvY=
github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk=
github.com/prometheus/client_golang v1.18.0/go.mod h1:T+GXkCk5wSJyOqMIzVgvvjFDlkOQntgjkJWKrN5txjA=
github.com/prometheus/client_model v0.5.0 h1:VQw1hfvPvk3Uv6Qf29VrPF32JB6rtbgI6cYPYQjL0Qw=
Expand Down
4 changes: 2 additions & 2 deletions manifest/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ spec:
- --run-mode=do-not-send-updates
command:
- /manager
image: projectsveltos/drift-detection-manager:main
image: projectsveltos/drift-detection-manager:dev
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down Expand Up @@ -140,7 +140,7 @@ spec:
resources:
limits:
cpu: 500m
memory: 256Mi
memory: 512Mi
requests:
cpu: 10m
memory: 128Mi
Expand Down
4 changes: 2 additions & 2 deletions manifest/mgmt_cluster_manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
- --run-mode=do-not-send-updates
command:
- /manager
image: projectsveltos/drift-detection-manager:main
image: projectsveltos/drift-detection-manager:dev
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down Expand Up @@ -56,7 +56,7 @@ spec:
resources:
limits:
cpu: 500m
memory: 256Mi
memory: 512Mi
requests:
cpu: 10m
memory: 128Mi
Expand Down

0 comments on commit b0dec82

Please sign in to comment.