2023-05-17 09:59:48 +00:00
|
|
|
<div>
|
2023-05-18 11:26:35 +00:00
|
|
|
<form wire:submit.prevent='submit' class="flex flex-col">
|
|
|
|
<div class="flex gap-2">
|
|
|
|
<h2>Resource Limits</h2>
|
|
|
|
<x-inputs.button type='submit'>Save</x-inputs.button>
|
|
|
|
</div>
|
2023-05-18 13:12:26 +00:00
|
|
|
<div>Limit your container resources by CPU & memory.</div>
|
|
|
|
<h3>CPU</h3>
|
|
|
|
<x-inputs.input placeholder="1.5" label="Number of CPUs" id="application.limits_cpus" />
|
|
|
|
<x-inputs.input placeholder="0-2" label="CPU set to use" id="application.limits_cpuset" />
|
|
|
|
<x-inputs.input placeholder="1024" label="CPU Weight" id="application.limits_cpu_shares" />
|
2023-05-17 09:59:48 +00:00
|
|
|
<h3>Memory</h3>
|
|
|
|
<x-inputs.input placeholder="69b or 420k or 1337m or 1g" label="Limit" id="application.limits_memory" />
|
|
|
|
<x-inputs.input placeholder="69b or 420k or 1337m or 1g" label="Swap" id="application.limits_memory_swap" />
|
|
|
|
<x-inputs.input placeholder="0-100" type="number" min="0" max="100" label="Swappiness"
|
|
|
|
id="application.limits_memory_swappiness" />
|
|
|
|
<x-inputs.input placeholder="69b or 420k or 1337m or 1g" label="Soft Limit"
|
|
|
|
id="application.limits_memory_reservation" />
|
2023-05-18 11:26:35 +00:00
|
|
|
<x-inputs.checkbox label="Disable OOM kill" id="application.limits_memory_oom_kill" />
|
2023-05-17 09:59:48 +00:00
|
|
|
</form>
|
|
|
|
</div>
|