Skip to content
DocsTry Aspire
DocsTry

withServiceSubnet

Method
📦 CommunityToolkit.Aspire.Hosting.K3s v13.5.0
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
cidrstring
K3sClusterResource

Applies to

This method applies to the following types: