AddK8sManifest

Method
📦 CommunityToolkit.Aspire.Hosting.K3s v13.6.1
func (K3sClusterResource) 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

A builder for the K8sManifestResource.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: