K3sClusterResource.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

Defined on

This method is defined on the following type: