From 2d5ba73df999bb311b5974f910893243889ee0a7 Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Tue, 26 May 2020 14:21:51 -0700 Subject: [PATCH] Remove swapaccounting requirement --- xml/cap_depl_install_caasp.xml | 35 ---------------------------------- xml/cap_kube_requirements.xml | 6 ------ 2 files changed, 41 deletions(-) diff --git a/xml/cap_depl_install_caasp.xml b/xml/cap_depl_install_caasp.xml index b5f49a40..8988b7f5 100644 --- a/xml/cap_depl_install_caasp.xml +++ b/xml/cap_depl_install_caasp.xml @@ -190,41 +190,6 @@ - - - Swapaccounting is enabled on all worker nodes. For each node: - - - - - SSH into the node. - - - - - If the ssh-agent is running, run: - -&prompt.user;ssh sles@<NODE_IP_ADDRESS> - - - - Without the ssh-agent running, run: - -&prompt.user;ssh sles@<NODE_IP_ADDRESS> -i <PATH_TO_YOUR_SSH_PRIVATE_KEY> - - - - - - Enable swapaccounting on the node. - -&prompt.user;grep "swapaccount=1" /etc/default/grub || sudo sed -i -r 's|^(GRUB_CMDLINE_LINUX_DEFAULT=)\"(.*.)\"|\1\"\2 swapaccount=1 \"|' /etc/default/grub -&prompt.user;sudo grub2-mkconfig -o /boot/grub2/grub.cfg -&prompt.user;sudo systemctl reboot - - - - diff --git a/xml/cap_kube_requirements.xml b/xml/cap_kube_requirements.xml index 2e47ec9e..1e671a95 100644 --- a/xml/cap_kube_requirements.xml +++ b/xml/cap_kube_requirements.xml @@ -33,12 +33,6 @@ &kernel-prereq; - - - If your &kube; nodes have swap, then kernel parameter - swapaccount=1 is set - - docker info must not show aufs as