Skip to content
DocsTry Aspire
DocsTry

KubernetesNodePoolResource

Classnet8.0
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
Represents a Kubernetes node pool as a child resource of a KubernetesEnvironmentResource. Node pools can be referenced by compute resources to schedule workloads on specific node pools using KubernetesEnvironmentExtensions.WithNodePool.
namespace Aspire.Hosting.Kubernetes;
public class KubernetesNodePoolResource
: Aspire.Hosting.ApplicationModel.Resource,
Aspire.Hosting.ApplicationModel.IResource,
Aspire.Hosting.ApplicationModel.IResourceWithParent,
Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.Kubernetes.KubernetesEnvironmentResource>
{
// ...
}
ResourceIResourceIResourceWithParentIResourceWithParent<KubernetesEnvironmentResource>