Configure kubectl connectivity

This page describes how to configure connectivity for the kubectl command-line tool to access Google Distributed Cloud connected.

By default, the ToR switches automatically advertise the virtual IP addresses of your local control plane nodes to your local network. You can use the kubectl tool to directly connect to those virtual IP addresses from your local network.

For situations where direct access to your local network is not available, you have the following options:

  • If the local control plane node uses a public IP address, you can connect to it directly from the internet. Your network administrator must configure your firewall to allow inbound traffic to the node on port 443.
  • If the local control plane uses a private IP address, you must Configure a bastion host.

What's next