Build the node image
Optional
options: BuildNodeImagesOptionsthe options to use for building the node images.
the list of clusters.
Executes the Kind CLI cluster create sub-command.
Optional
clusterName: stringthe name of the cluster to create. If not provided, a default name will be used.
Optional
options: ClusterCreateOptionsthe options to use for creating the cluster. If not provided, default options will be used.
the response of the create operation, which includes the name of the created cluster and other details.
Executes the Kind CLI cluster delete sub-command and returns the result.
Optional
clusterName: stringthe name of the cluster to delete. If not provided, the default cluster will be deleted.
Optional
options: ClusterDeleteOptionsthe options to use for deleting the cluster. If not provided, default options will be used.
the response of the delete operation.
Executes the Kind CLI kubeconfig export sub-command and returns the kubeconfig of the cluster.
Optional
clusterName: stringthe name of the cluster to export the kubeconfig from. If not provided, the default cluster will be used.
the kubeconfig of the cluster.
Executes the Kind CLI cluster export sub-command and returns the logs of the cluster.
Optional
clusterName: stringthe name of the cluster to export logs from. If not provided, the default cluster will be used.
the logs of the cluster.
Returns a list of clusters that are managed by Kind.
a list of cluster names.
Returns the kubeconfig of the specified cluster.
Optional
contextName: stringthe name of the cluster context to get the kubeconfig from.
Optional
options: GetKubeConfigOptionsthe options to use for getting the kubeconfig.
the kubeconfig of the cluster.
Returns a list of nodes in the specified cluster.
Optional
contextName: stringthe name of the cluster context to get nodes from.
Optional
options: GetNodesOptionsthe options to use for getting nodes.
a list of node names.
Loads the specified images into the Kind cluster.
the names of the images to load.
Optional
options: LoadDockerImageOptionsthe options to use for loading the images
Loads an image archive into the Kind cluster.
the name of the images to load from the archive.
Optional
options: LoadImageArchiveOptionsthe options to use for loading the image archive
Executes the Kind CLI version sub-command and returns the reported version.
the version of the Kind CLI that is being used by this client.
The KindClient is a bridge between TypeScript and the Kind CLI.