From 8c857f6b1ffc1069a0994cfda4a74e9aa8ce729d Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Fri, 31 Mar 2023 17:20:28 +0200 Subject: [PATCH] updated kubernetes state --- states/kubernetes/defaults.yaml | 1 + states/kubernetes/install.sls | 1 + states/kubernetes/templates/config.toml.j2 | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/states/kubernetes/defaults.yaml b/states/kubernetes/defaults.yaml index c70589c..5bbf83c 100644 --- a/states/kubernetes/defaults.yaml +++ b/states/kubernetes/defaults.yaml @@ -14,6 +14,7 @@ kubernetes: net.ipv4.ip_forward: 1 net.ipv6.conf.all.forwarding: 1 net.ipv6.conf.all.disable_ipv6: 0 + net.core.bpf_jit_enable: 1 services: - kubelet - containerd diff --git a/states/kubernetes/install.sls b/states/kubernetes/install.sls index 40a58b4..952da3a 100644 --- a/states/kubernetes/install.sls +++ b/states/kubernetes/install.sls @@ -6,6 +6,7 @@ kubernetes-install-pkgs: - containerd.io - cri-tools - iptables + - helm - kubeadm - kubectl - kubelet diff --git a/states/kubernetes/templates/config.toml.j2 b/states/kubernetes/templates/config.toml.j2 index 2e2b01e..e21bd43 100644 --- a/states/kubernetes/templates/config.toml.j2 +++ b/states/kubernetes/templates/config.toml.j2 @@ -59,7 +59,7 @@ version = 2 max_container_log_line_size = 16384 netns_mounts_under_state_dir = false restrict_oom_score_adj = false - sandbox_image = "k8s.gcr.io/pause:3.6" + sandbox_image = "registry.k8s.io/pause:3.6" selinux_category_range = 1024 stats_collect_period = 10 stream_idle_timeout = "4h0m0s"