The simpeest way to install kubernetes is via https://k0sproject.io
$ \
curl -sSLf https://get.k0s.sh | sudo sh
$\
sudo k0s install controller --single
$ \
sudo k0s start
$ \
sudo k0s status
Version: v1.21.2+k0s.0
Process ID: 6512
Parent Process ID: 1
Role: controller+worker
Init System: linux-systemd
Service file: /etc/systemd/system/k0scontroller.service
$ \
sudo k0s kubectl get all --all-namespaces