withPodSubnet

Method
📦 CommunityToolkit.Aspire.Hosting.K3s v13.6.1
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
cidrstringThe pod subnet in CIDR notation, e.g. `10.42.0.0/16`.
K3sClusterResource

Applies to

This method applies to the following types: