Skip to content

Commit

Permalink
Remove swapaccounting requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
btat committed May 26, 2020
1 parent 6e940e4 commit 2d5ba73
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 41 deletions.
35 changes: 0 additions & 35 deletions xml/cap_depl_install_caasp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -190,41 +190,6 @@
<link xlink:href="https://documentation.suse.com/suse-caasp/4.1/single-html/caasp-deployment/#_transitioning_from_docker_to_cri_o"/>
</para>
</listitem>
<listitem>
<para>
Swapaccounting is enabled on all worker nodes. For each node:
</para>
<procedure>
<step>
<para>
SSH into the node.
</para>
<substeps>
<step>
<para>
If the <command>ssh-agent</command> is running, run:
</para>
<screen>&prompt.user;ssh <replaceable>sles</replaceable>@&lt;NODE_IP_ADDRESS></screen>
</step>
<step>
<para>
Without the <command>ssh-agent</command> running, run:
</para>
<screen>&prompt.user;ssh <replaceable>sles</replaceable>@&lt;NODE_IP_ADDRESS> -i &lt;PATH_TO_YOUR_SSH_PRIVATE_KEY></screen>
</step>
</substeps>
</step>
<step>
<para>
Enable swapaccounting on the node.
</para>
<screen>&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
</screen>
</step>
</procedure>
</listitem>
</itemizedlist>
</sect1>

Expand Down
6 changes: 0 additions & 6 deletions xml/cap_kube_requirements.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@
<!-- para -->
&kernel-prereq;
</listitem>
<listitem>
<para>
If your &kube; nodes have swap, then kernel parameter
<literal>swapaccount=1</literal> is set
</para>
</listitem>
<listitem>
<para>
<command>docker info</command> must not show <literal>aufs</literal> as
Expand Down

0 comments on commit 2d5ba73

Please sign in to comment.