Fix k8s-based installer to be run on a VM in the stage3