Skip to content

Commit

Permalink
operator v1: use lower memory in tests
Browse files Browse the repository at this point in the history
this reduces flakes. sometimes, tests get stuck / take too long, if
another test is consuming too many resources in CI.
  • Loading branch information
birdayz committed Oct 9, 2024
1 parent b77e270 commit 2e172da
Show file tree
Hide file tree
Showing 41 changed files with 180 additions and 178 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 3
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 2
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 3
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 1
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
8 changes: 4 additions & 4 deletions operator/tests/e2e/admin-api-tls-ext/01-redpanda-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 1
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
8 changes: 4 additions & 4 deletions operator/tests/e2e/admin-api-tls/00-redpanda-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 1
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
8 changes: 4 additions & 4 deletions operator/tests/e2e/admin-api/00-redpanda-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 1
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 2
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 2
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 1
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
8 changes: 4 additions & 4 deletions operator/tests/e2e/console-admin-api/00-redpanda-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 2
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
8 changes: 4 additions & 4 deletions operator/tests/e2e/console-finalizers/00-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 1
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 2
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ spec:
replicas: 1
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ spec:
replicas: 1
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
8 changes: 4 additions & 4 deletions operator/tests/e2e/decommission/00-redpanda-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 3
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ spec:
replicas: 1
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 1
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 1
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 1
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
8 changes: 4 additions & 4 deletions operator/tests/e2e/lost-redpanda-decommission/00-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 3
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 1
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 1
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
kafkaEnableAuthorization: true
configuration:
rpcServer:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 1
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
replicas: 1
resources:
requests:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
cpu: "100m"
memory: 256Mi
configuration:
rpcServer:
port: 33145
Expand Down
Loading

0 comments on commit 2e172da

Please sign in to comment.