This knowledge base article documents the steps to enable kernel crash dump on VKS clusters in an airgapped environment.
These steps involve assessing the full set of package dependencies required through a VM that does have internet access and proceeding with steps based on the gathered information.
vSphere Supervisor
Airgapped environment
VKS Cluster Nodes running on Ubuntu OS
VKR v1.35.2 and lower
chmod +x kdump_bundler.sh
./kdump_bundler.sh -t <timestamp>
mkdir -p ~/kdump_install
tar -xvzf kdump_bundle_*.tar.gz -C ~/kdump_install
cd ~/kdump_install
sudo DEBIAN_FRONTEND=noninteractive apt install -y ./*.deb
echo 'USE_KDUMP=1' | sudo tee /etc/default/kdump-tools
sudo bash -c "cat << 'EOF' > /etc/default/grub.d/99-zz-kdump-manual.cfg
# We append to the existing variable so we don't break previous settings
GRUB_CMDLINE_LINUX_DEFAULT=\"\${GRUB_CMDLINE_LINUX_DEFAULT} crashkernel=2G-:256M panic_on_warn=0 softlockup_panic=1 nmi_watchdog=panic,1\"
EOF"
Explanation of parameters:
sudo update-grub
sudo reboot