KindClusterResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Kind v13.5.1-beta.895
interface KindClusterResource
extends IKindResource,
IResource,
IResourceWithWaitSupport {
addHelmChart(
name: string,
chartRef: string): KindHelmChartResource;
addManifest(
name: string,
manifestPath: string): K8sManifestResource;
addManifestFromContent(
name: string,
content: string): K8sManifestResource;
}

Methods

methodaddHelmChartbuilder
Adds a Helm chart to be deployed to the Kind cluster.
addHelmChart(
name: string,
chartRef: string): KindHelmChartResource
namestringThe name of the Helm release.
chartRefstringChart reference passed to `helm install`. Any form Helm supports: OCI (`oci://registry/chart`), repo (`repo/chart`), or local path (`./charts/my-app`).
KindHelmChartResource
methodaddManifestbuilder
Adds a Kubernetes manifest to be applied to the Kind cluster via `kubectl apply`.
addManifest(
name: string,
manifestPath: string): K8sManifestResource
namestringThe name of the manifest resource.
manifestPathstringAbsolute path to a Kubernetes manifest file, a directory of manifest files, or a Kustomize overlay directory. Relative paths are not supported. URL fetch is not supported; reference a local file or directory.
K8sManifestResource
Adds Kubernetes manifest content to be applied to the Kind cluster via `kubectl apply -f -`.
addManifestFromContent(
name: string,
content: string): K8sManifestResource
namestringThe name of the manifest resource.
contentstringThe Kubernetes manifest YAML content.
K8sManifestResource