Study FAQ
What do CNI, CSI, and CPI each do in a VKS cluster?
Also asked as 2
- How do I distinguish the networking, storage, and cloud-provider integrations in VKS?
- Which VKS integration handles Pod networking, persistent volumes, or node identity?
Answer
In a vSphere Kubernetes Service workload cluster, CNI implements the Pod network, the vSphere CSI driver integrates persistent volumes with vSphere storage, and the vSphere CPI integrates Kubernetes node data with the underlying VMs. The exact components and supported configuration depend on the VKS release and topology.
| Integration | What it connects | Example evidence |
|---|---|---|
| Container Network Interface (CNI) | Pods to the cluster network | A Pod gets an IP through the cluster's network implementation |
| Container Storage Interface (CSI) | Kubernetes volume operations to supported vSphere storage | A claim using a compatible StorageClass is provisioned and mounted |
| Cloud Provider Interface (CPI) | Kubernetes Node objects to vSphere infrastructure identity | During initialization the Node receives a vSphere spec.providerID |
Use the distinction to identify a starting point. A node awaiting its provider ID is at a different stage from a running Pod waiting on volume attachment or failing to reach a peer.
Full explanation
VMware vSphere Kubernetes Service Architecture Explained
Study guide · 3V0-24.25
Read the full explanation