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:
Key | Description |
---|---|
vpc | The name of the VPC assigned to the cluster. |
network.public | If true , the VPC is publicly exposed to the internet. |
network.internalLbCIDRs | List of CIDRs for internal load balancers in the cluster, reachable from within the VPC. |
network.podCIDR | List of CIDRs for the Pods in the cluster. |
network.serviceCIDR | List 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/v1alpha1kind: Clustermetadata:name: example-clusternamespace: <ORG_ID> # Replace with the Org's ID.spec:kubernetes:version: v1.29network:public: trueinternalLbCIDRs:- 10.16.4.0/22podCIDR: 10.0.0.0/13serviceCIDR: 10.16.0.0/22vpc: default-us-east-04placement:region: us-east-04