Search code examples
dockergokuberneteskind

Is There a Golang way to create Kind Cluster


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 ?


Solution

  • Yes there is, you are looking for kubernetes-sigs/e2e-framework.

    https://github.com/kubernetes-sigs/e2e-framework