Packer templates for kubernetes base OS images
- Debian 10
Clone the repository:
$ git clone https://github.com/dereknex/packer-kube-image.git && cd packer-kube-image
Build a machine image from the template in the repository:
$ packer build debian.json
Default username/password: leo/leo_admin
- Disable swap
- Use
containerd
as CRI runtime kubeadm
,kubectl
,kubelet
have installed