Checkout how to change the NTP and DNS server settings for the Workload Networks of a Supervisor configured with the VDS networking stack. The DNS servers that you configure for Workload Networks are external DNS servers exposed to Kubernetes workloads and they resolve default domain names that are hosted outside of the Supervisor.

Prerequisites

  • Verify that you have the Modify cluster-wide configuration privilege on the cluster.

Procedure

  1. In the vSphere Client, select Workload Management.
  2. Under Supervisors, select the Supervisor, and select Configure.
  3. Select Network and expand Workload Network.

    Workload Network settings view on a Supervisor configured with VDS networking
    Note: You cannot remove a workload network that is already assigned to a vSphere Namespace. If you need to remove a workload network, you must delete all vSphere Namespaces attached to that network. Also you cannot edit or remove the primary workload network.
  4. Edit the DNS server settings.

    Enter the addresses of DNS Servers that can resolve the domain names of the vSphere management components, such as vCenter Server .

    For example, 10.142.7.1.

    When you enter the IP address of the DNS server, a static route is added on each control plane VM. This indicates that the traffic to the DNS servers goes through the workload network.

    If the DNS servers that you specify are shared between the management network and workload network, the DNS lookups on the control plane VMs are routed through the Workload Network after initial setup.

  5. Edit the NTP settings as needed.
  6. Edit workload network settings.
    1. Select a workload network and click Edit.
    2. Click Add next to IP Address Range(s) to add new IP ranges to be used with workloads on that network.
      The IP ranges must to be in the subnet indicated by the subnet mask.
      Note: The IP ranges that you add must not overlap with the Virtual IPs of the Frontend Network configuration of the load balancer.