From f8280049043f5456f032816a23b3347ac99db655 Mon Sep 17 00:00:00 2001 From: Ashley Dumaine Date: Fri, 9 Feb 2024 09:52:32 -0500 Subject: [PATCH] make sure swap is disabled even though there's no swap disk --- templates/addons/cilium-helm.yaml | 2 +- templates/cluster-template.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/addons/cilium-helm.yaml b/templates/addons/cilium-helm.yaml index c70c8e258..da0f2bfa1 100644 --- a/templates/addons/cilium-helm.yaml +++ b/templates/addons/cilium-helm.yaml @@ -8,7 +8,7 @@ spec: cni: cilium repoURL: https://helm.cilium.io/ chartName: cilium - version: 0.15.0 + version: 1.15.0 options: waitForJobs: true wait: true diff --git a/templates/cluster-template.yaml b/templates/cluster-template.yaml index 20409b2ee..50414e0c6 100644 --- a/templates/cluster-template.yaml +++ b/templates/cluster-template.yaml @@ -204,3 +204,5 @@ stringData: modprobe overlay modprobe br_netfilter sysctl --system + sed -i '/swap/d' /etc/fstab + swapoff -a