Skip to content
DocsTry Aspire
DocsTry

withPodSubnet

Method
📦 CommunityToolkit.Aspire.Hosting.K3s v13.5.0
interface K3sClusterResource {
// ... omitted for brevity
withPodSubnet(cidr: string): K3sClusterResource;
}

Signature

methodwithPodSubnetbuilder
Sets the CIDR range for pod IP addresses (`--cluster-cidr`).
withPodSubnet(cidr: string): K3sClusterResource
cidrstring
K3sClusterResource

Applies to

This method applies to the following types: