Skip to content

Commit

Permalink
Reduce resource requirements to enable running on Kind.
Browse files Browse the repository at this point in the history
  • Loading branch information
MirahImage committed Mar 16, 2021
1 parent 59f82a3 commit 697ab37
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions system_tests/system_tests_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
. "github.com/onsi/gomega"
rabbitmqv1beta1 "github.com/rabbitmq/cluster-operator/api/v1beta1"

"k8s.io/apimachinery/pkg/api/resource"
"k8s.io/apimachinery/pkg/runtime"
defaultscheme "k8s.io/client-go/kubernetes/scheme"
_ "k8s.io/client-go/plugin/pkg/client/auth"
Expand Down Expand Up @@ -94,6 +95,11 @@ var _ = BeforeSuite(func() {
},
Spec: rabbitmqv1beta1.RabbitmqClusterSpec{
Replicas: pointer.Int32Ptr(1),
Resources: &corev1.ResourceRequirements{
Requests: corev1.ResourceList{
corev1.ResourceMemory: resource.MustParse("100Mi"),
},
},
Service: rabbitmqv1beta1.RabbitmqClusterServiceSpec{
Type: corev1.ServiceTypeNodePort,
},
Expand Down

0 comments on commit 697ab37

Please sign in to comment.