File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/Contrast.K8s.AgentOperator/Modules
tests/Contrast.K8s.AgentOperator.FunctionalTests/Scenarios/Injection Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ operator:
67
67
resources :
68
68
limits :
69
69
cpu : 100m
70
- memory : 64Mi
70
+ memory : 256Mi
71
71
ephemeralStorage : 1Gi # Needs to be greater than the size of the largest agent
72
72
requests :
73
73
cpu : 100m
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ protected override void Load(ContainerBuilder builder)
111
111
cpuLimit = cpuLimitStr ;
112
112
}
113
113
114
- var memoryLimit = "64Mi " ;
114
+ var memoryLimit = "256Mi " ;
115
115
var memoryRequest = "64Mi" ;
116
116
if ( GetEnvironmentVariableAsString ( "CONTRAST_INITCONTAINER_MEMORY_REQUEST" , out var memoryRequestStr ) )
117
117
{
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ public async Task When_init_container_is_created_then_default_resource_limits_sh
216
216
217
217
resources . Should ( ) . NotBeNull ( ) ;
218
218
resources . Limits . Should ( ) . ContainKey ( "cpu" ) . WhoseValue . Value . Should ( ) . Be ( "100m" ) ;
219
- resources . Limits . Should ( ) . ContainKey ( "memory" ) . WhoseValue . Value . Should ( ) . Be ( "64Mi " ) ;
219
+ resources . Limits . Should ( ) . ContainKey ( "memory" ) . WhoseValue . Value . Should ( ) . Be ( "256Mi " ) ;
220
220
resources . Requests . Should ( ) . ContainKey ( "cpu" ) . WhoseValue . Value . Should ( ) . Be ( "100m" ) ;
221
221
resources . Requests . Should ( ) . ContainKey ( "memory" ) . WhoseValue . Value . Should ( ) . Be ( "64Mi" ) ;
222
222
}
You can’t perform that action at this time.
0 commit comments