withServiceSubnet

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

Signature

methodwithServiceSubnetbuilder
Sets the CIDR range for Service cluster IPs (`--service-cidr`).
withServiceSubnet(cidr: string): K3sClusterResource
cidrstringThe service subnet in CIDR notation, e.g. `10.43.0.0/16`.
K3sClusterResource

Applies to

This method applies to the following types: