In Python we can create a kind cluster by
from pytest_kind import KindCluster
cluster = KindCluster("myclustername")
cluster.create()
cluster.kubectl("apply", "-f", "..")
# ...
cluster.delete()
reference : https://pypi.org/project/pytest-kind/ is there a golang way to create Kind cluster ?
Yes there is, you are looking for kubernetes-sigs/e2e-framework.