Assigning static external IP addresses to Managed Service for Kubernetes cluster nodes
Written by
Updated at October 2, 2024
Issue description
You need to assign a static external IP address to nodes in a Managed Service for Kubernetes node group.
Solution
You can't set a static IP for a Kubernetes cluster or its nodes. When assigning a public IP, a random IP address is taken from the Yandex Cloud IP pool.
To assign a static public IP to your cluster nodes, use one of these options:
- Host your cluster behind a Load balancer with an external static IP.
- Set up egress traffic routing via a NAT instance having a static external IP.