How to connect GCP Load balancer to Kubernetes cluster(single node cluster)
You can use the GCP HTTP(S) Load balancer. Since you are running a kubernetes cluster (Assuming you are using GKE), GKE uses Google compute VM instance groups which can be put behind a load balancer as target group.

You can follow the below steps to setup a load balancer and put your kubernetes node behind a load balancer.


Login to GCP console and go to NETWORKING > Network Services > Load balancing
Click on Create Load Balancer at the top of the page.
Click on Start Configuration for HTTP(s) Load balancing
Select From Internet to my VMs if you want to access it from public internet and click continue
Give a Name to your load balancer
Click on Backend Configuration and Select Backend services (from drop down) > Create a backend service
Give a name to backend service and select the other parameters appropriately. Select Instance groups in Backend type.
In the New backend section, select the kubernetes instance group name from the drop down. After selecting the proper instance group, you can enter the ports which will accept the requests. You can modify other things if required. At the end, click Create.
Next you can setup Host and Path rules if you need any.
Next, you have to configure Frontend configuration which will be your frontend to accept the requests on the port and send it to the backend target group which we configured in the step 8.
Once all the configurations are done, click on Create to create your load balancer.


If everything was setup correctly, you should be able to access the contents from the load balancer endpoint.