Kubernetes : hostname regex failed
You could use a different name other than the hostname with the --api-external-dns-names
as described in the reference manual. E.g.:
kubeadm init --api-external-dns-names=kube.local
This should run just fine.
You could also change the hostname of your machine - you'll find plenty of ways to do that on SO too.