Skip to content
Docs Try Aspire
Docs Try

KubernetesNodePoolResource

Class net8.0
📦 Aspire.Hosting.Kubernetes v13.3.0-preview.1.26254.5
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>