addK8sManifest

Method
📦 CommunityToolkit.Aspire.Hosting.K3s v13.6.1
interface K3sClusterResource {
// ... omitted for brevity
addK8sManifest(
name: string,
path: string): K8sManifestResource;
}

Signature

methodaddK8sManifestbuilder
Applies Kubernetes YAML manifests or a Kustomize overlay to the cluster.
addK8sManifest(
name: string,
path: string): K8sManifestResource
namestringThe Aspire resource name for this manifest application.
pathstringPath to a single `.yaml`/`.yml` file, a directory of YAML files, or a Kustomize overlay directory (containing `kustomization.yaml`). Relative paths are resolved against the AppHost project directory.
K8sManifestResource

Applies to

This method applies to the following types: