|
|
@ -277,7 +277,7 @@ module ApplicationHelper
|
|
|
|
:cpuLimit => config.cpu_limit,
|
|
|
|
:cpuLimit => config.cpu_limit,
|
|
|
|
:cpuRequest => config.lower_cpu_limit,
|
|
|
|
:cpuRequest => config.lower_cpu_limit,
|
|
|
|
:memoryLimit => "#{config.memory_limit}M",
|
|
|
|
:memoryLimit => "#{config.memory_limit}M",
|
|
|
|
:memoryRequest => "#{config.request_limit}",
|
|
|
|
:memoryRequest => "#{config.request_limit}M",
|
|
|
|
:resourceLimit => "#{config.resource_limit}K",
|
|
|
|
:resourceLimit => "#{config.resource_limit}K",
|
|
|
|
:type => mirror.try(:main_type) == "1" ? "main" : "sub"}
|
|
|
|
:type => mirror.try(:main_type) == "1" ? "main" : "sub"}
|
|
|
|
end
|
|
|
|
end
|
|
|
|