From 3ed973f879facd6d4ea4f6171f1812476bbd5454 Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Thu, 25 Sep 2025 10:09:17 +0200 Subject: [PATCH] CRI-O: set hard/soft file descriptor ulimits to `1048576` Signed-off-by: Sascha Grunert --- .../arbiter/01-arbiter-container-runtime/_base/files/crio.yaml | 3 +++ .../master/01-master-container-runtime/_base/files/crio.yaml | 3 +++ .../worker/01-worker-container-runtime/_base/files/crio.yaml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/templates/arbiter/01-arbiter-container-runtime/_base/files/crio.yaml b/templates/arbiter/01-arbiter-container-runtime/_base/files/crio.yaml index 9157ad0049..335725206b 100644 --- a/templates/arbiter/01-arbiter-container-runtime/_base/files/crio.yaml +++ b/templates/arbiter/01-arbiter-container-runtime/_base/files/crio.yaml @@ -33,6 +33,9 @@ contents: "/etc/hostname", ] drop_infra_ctr = true + default_ulimits = [ + "nofile=1048576", + ] [crio.runtime.runtimes.runc] runtime_root = "/run/runc" diff --git a/templates/master/01-master-container-runtime/_base/files/crio.yaml b/templates/master/01-master-container-runtime/_base/files/crio.yaml index 36d99c5cec..431ead06ff 100644 --- a/templates/master/01-master-container-runtime/_base/files/crio.yaml +++ b/templates/master/01-master-container-runtime/_base/files/crio.yaml @@ -33,6 +33,9 @@ contents: "/etc/hostname", ] drop_infra_ctr = true + default_ulimits = [ + "nofile=1048576", + ] [crio.runtime.runtimes.runc] runtime_root = "/run/runc" diff --git a/templates/worker/01-worker-container-runtime/_base/files/crio.yaml b/templates/worker/01-worker-container-runtime/_base/files/crio.yaml index e741fa84fc..0ca5735c71 100644 --- a/templates/worker/01-worker-container-runtime/_base/files/crio.yaml +++ b/templates/worker/01-worker-container-runtime/_base/files/crio.yaml @@ -33,6 +33,9 @@ contents: "/etc/hostname", ] drop_infra_ctr = true + default_ulimits = [ + "nofile=1048576", + ] [crio.runtime.runtimes.runc] runtime_root = "/run/runc"