Is There a Golang way to create Kind Cluster

148 Views Asked by At

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 ?

1

There are 1 best solutions below

1
On

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

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