How to build kubernetes cluster on-premise

Hi, I install kubernetes on my machine which has arm CPU now. I want to build kubernetes cluster.
I want to know how to do that, are there any github codes for reference? I would be happy if it includes ansible.

Kubernetes version:1.24.2
Cloud being used: On-Premise
Installation method: ansible
Host OS: Ubuntu18.04(arm(aarch64))
CRI and version: Docker 20.10.17