Skip to content

Commit c080b0b

Browse files
committed
remove limits for pods
1 parent 7ff349d commit c080b0b

File tree

5 files changed

+1
-19
lines changed

5 files changed

+1
-19
lines changed

assets/grafana/deployment.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ spec:
2424
- containerPort: 3001
2525
name: http
2626
resources:
27-
limits:
28-
cpu: 200m
29-
memory: 200Mi
3027
requests:
3128
cpu: 100m
3229
memory: 100Mi

assets/node-exporter/daemonset.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ spec:
5555
hostPort: 9100
5656
name: https
5757
resources:
58-
limits:
59-
cpu: 20m
60-
memory: 40Mi
6158
requests:
6259
cpu: 10m
6360
memory: 20Mi

assets/telemeter-client/deployment.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ spec:
7777
- containerPort: 8443
7878
name: https
7979
resources:
80-
limits:
81-
cpu: 20m
82-
memory: 40Mi
8380
requests:
8481
cpu: 10m
8582
memory: 20Mi

hack/ocp-images.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@ spec:
115115
- containerPort: 8080
116116
name: http
117117
resources:
118-
limits:
119-
cpu: 20m
120-
memory: 50Mi
121118
requests:
122119
cpu: 20m
123120
memory: 50Mi

pkg/manifests/manifests_test.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"testing"
2323

2424
monv1 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1"
25-
"k8s.io/api/core/v1"
25+
v1 "k8s.io/api/core/v1"
2626
)
2727

2828
func TestUnconfiguredManifests(t *testing.T) {
@@ -582,9 +582,6 @@ func TestPrometheusK8sConfiguration(t *testing.T) {
582582
requests:
583583
storage: 15Gi
584584
resources:
585-
limits:
586-
cpu: 200m
587-
memory: 1000Mi
588585
requests:
589586
cpu: 100m
590587
memory: 750Mi
@@ -698,9 +695,6 @@ func TestAlertmanagerMainConfiguration(t *testing.T) {
698695
nodeSelector:
699696
type: worker
700697
resources:
701-
limits:
702-
cpu: 20m
703-
memory: 100Mi
704698
requests:
705699
cpu: 10m
706700
memory: 75Mi

0 commit comments

Comments
 (0)