How to create and manage Virtual Private Clouds on CoreWeave Kubernetes Service
A VPC defines a network isolation configuration for attaching CoreWeave products, such as CKS clusters. This guide is for administrators who provision or update network isolation for CoreWeave workloads. It covers how to create a new VPC and how to edit or delete an existing one using the Cloud Console. By the end, you have a VPC configured with the address ranges and DNS settings required to attach a CKS cluster or other CoreWeave product.
This section walks through creating a new VPC from the Cloud Console, including the required address ranges and any advanced settings.To create a VPC using the Cloud Console, navigate to the VPCs page. This page lists your deployed VPCs along with their statuses.To open the VPC creation form, click the Create a VPC button on the top right of the screen.The configuration fields on this page include:
Value
Description
Name
Specify a name for the VPC.
Zone
A dropdown menu where you can select a Zone. A VPC must exist in the same Zone as the cluster you attach it to. See Regions for more information.
Allow Public Prefix Announcement
Specifies whether the VPC allows public prefixes advertised from Nodes to be imported into public-facing networks, making them accessible from the internet.
VPC Prefixes
A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and Service CIDR ranges.
Host Prefixes
Unique IPv4 IP ranges assigned to hosts in the VPC, validated for IPv4 CIDR format with prefix.
Custom DNS Servers
DNS servers announced through DHCP, validated for IP format.
VPC prefixes define the address ranges that workloads inside the VPC draw from, so you must plan them before attaching a cluster. A VPC requires at least three unique prefixes to be compatible with a CKS cluster. Prefixes can’t use any address in the RFC6598 (Carrier-Grade NAT) range of 100.64.0.0/10.For example, your VPC prefixes might look like this:
Prefix
Description
10.0.0.0/13
Pod CIDR Range
10.16.0.0/22
Service CIDR Range
10.16.4.0/22
Internal Load Balancer CIDR Range
Click the Add a Prefix button.The New VPC Prefix window opens, where you can enter the prefix details.Additional configuration settings for the VPC are found under Advanced Settings.
Value
Description
Disable External Propagate
Disables external propagation for this prefix, preventing the advertisement of the address space to external networks.
Host prefixes define the IP address ranges assigned to the Nodes within a VPC. Nodes use these ranges for network communications with other resources within the VPC.Host prefixes define the IP address ranges assigned to the Nodes within a VPC, which are used for network communications between Nodes and other resources within the VPC.
You can add more Host Prefixes at any time, but you can’t remove an existing Host Prefix.
To add a new range of host IP addresses, click the Add a Prefix button to open the New Host Prefix window.Each CoreWeave features a default Host Prefix. CoreWeave assigns it automatically unless you specify a different prefix. The default Host Prefixes for each AZ are:
SUNK users take note: If you supply network.hostPrefixes, it should have a minimum prefix length of /18. Prefixes smaller than /18 don’t have physical-location-based IP addresses, which SUNK uses to calculate adjacency.
This section covers ongoing management tasks for existing VPCs, including how to sort, edit, and delete them. After you create a VPC, you can edit its configuration or remove it when you no longer need it. The VPCs page displays a list of your VPCs and their statuses.You can sort VPCs by Name, Zone, Age, or Status. Use the arrow buttons near each field to sort the list accordingly.
To make changes to an existing VPC, click the vertical ellipsis menu button to the right of the VPC name. Then, click the Edit button.This opens the Edit VPC window, which includes all the same options as the Create VPC window.