Skip to main content

VPC Cluster Assignment

VPCs are assigned to clusters through the CKS cluster manifest. The network block of the manifest has the following fields related to VPC assignment:

KeyDescription
vpcThe name of the VPC assigned to the cluster.
network.publicIf true, the VPC is publicly exposed to the internet.
network.internalLbCIDRsList of CIDRs for internal load balancers in the cluster, reachable from within the VPC.
network.podCIDRList of CIDRs for the Pods in the cluster.
network.serviceCIDRList of CIDRs for the Services in the cluster.

Example

An example CKS cluster manifest is shown below. The highlighted values in the network block define the VPC's configuration.

example-cluster.yaml
---
apiVersion: cks.coreweave.com/v1alpha1
kind: Cluster
metadata:
name: example-cluster
namespace: <ORG_ID> # Replace with the Org's ID.
spec:
kubernetes:
version: v1.29
network:
public: true
internalLbCIDRs:
- 10.16.4.0/22
podCIDR: 10.0.0.0/13
serviceCIDR: 10.16.0.0/22
vpc: default-us-east-04
placement:
region: us-east-04