I have cluster with two Debian servers on gcp. Both servers behave as ntp server. When I tried to use on my laptop ntpdate with IP of one of server it returns:
9 Nov 14:05:05 ntpdate[9406]: adjust time server IP offset -0.017810 sec
I would like to use gcp load balancer for ntp but it does not work. I tried command ntpdate LB_IP on my laptop and on different gcp server in same network and on both I got response "no server suitable for synchronization found". I use same LB for another application in cluster running on TCP port which works fine via LB.
LB for ntp has frontend UDP with public LB IP and port 123. Backend for instance group with both servers where I set port name mapping ntp 123. Health check is done via tcp port (gcp shows server healthy).
I see in wireshark on my laptop request without response. Request contains:
Source: 10.0.2.15 Destination: LB_IP Protocol: UDP (17) User Datagram Protocol, Src Port: 123, Dst Port: 123
Can anyone know why LB not response on UPD port 123?
EDIT:
I setup gcp load balancer mostly according URL https://cloud.google.com/load-balancing/docs/network/setting-up-network-backend-service#console_2 . I setup different only groups I have created "unmanaged instance group" where I choose our both servers which are in same region. I have created firewall rule allows UDP 123 for tag which is used on both servers (otherwise I would not connect directly from outside). Then created UDP LB with choice "from internet", choose region then I could select backend group, as healt check I used TCP port which runs on both servers, In frontend I selected LB IP and set ports (we have two UDP ports so I tried first multiple ports 123, 1885. Then I tried two frontends with single port and I tried to leave there only one frontend with single port 123 to check if could be issue two ports).
As I wrote I am able to get time directly from both servers but not through LB. We use on same LB one TCP port for another application and we are able to use it.
We have devices in field which synchronized time via our ntp domain and we would like to map this domain to our LB to we could have more than one ntp server due to availability.