kubernetes disable swap code example Example: disable swap kubernetes ansible sudo sed -i '/ swap / s/^\(.*\)$/#\1/g' /etc/fstab