K8sManifestResource Constructors
ClassConstructors1 member
Represents a Kubernetes manifest (or Kustomize overlay) applied to the parent k3s cluster.
Constructor(string, string, K3sClusterResource)Section titled Constructor(string, string, K3sClusterResource) Represents a Kubernetes manifest (or Kustomize overlay) applied to the parent k3s cluster.
public sealed class K8sManifestResource{ public K8sManifestResource( string name, string path, K3sClusterResource cluster) { // ... }}Parameters
namestringThe Aspire resource name.pathstringAbsolute path to the YAML file, plain directory, or Kustomize directory.clusterK3sClusterResourceThe parent k3s cluster resource.Remarks
The resource runs as an
alpine/kubectl container. It polls until the cluster kubeconfig is available, then applies the manifests with kubectl apply --server-side and waits for any CRDs to reach the Established condition before exiting with code 0. Use WaitForCompletion(manifest) on resources that depend on these manifests being applied.