External network connectivity loss in VKS Cluster due to cluster network segment overlap
search cancel

External network connectivity loss in VKS Cluster due to cluster network segment overlap

book

Article ID: 453303

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service VMware vSphere ESXi

Issue/Introduction

All nodes in a VKS cluster lose connectivity with external hosts under the following conditions:

  • After scaling out the cluster
  • After rolling out cluster nodes
  • During initial cluster deployment

This issue may manifest as the following symptoms:

  • Name resolution failure
  • Time synchronization failure with NTP servers
  • Image pull failure

Environment

vSphere Kubernetes Service

Cause

This issue is caused by an overlap between the VKS cluster network segment and external networks, such as those hosting DNS or NTP servers used by the VKS cluster.

Subnets specified in .clusterNetwork.pods.cidrBlocks or .clusterNetwork.services.cidrBlocks during cluster creation may be routed internally within VKS nodes, rather than being directed to the external network.
Specifically, the active routing range expands as nodes are created.

Therefore, even if the cluster appears to function correctly immediately after deployment, connectivity may fail following scale-out or node rollout operations.

Resolution

Recreate the VKS cluster using non-overlapping network segments.

Note: The internal network configuration of a VKS cluster cannot be changed after creation.