If you want to change the external IP of the load balancer, you can associate a floating IP to the load balancer in the SysEleven Stack dashboard. A newly created load balancer already has an IP associated, to disassociate it open the menu Project -> Network -> Load Balancers
and click on Disassociate Floating IP
:
Afterwards you can associate another IP by clicking on Associate Floating IP
in the same menu. This will trigger a popup, where you can either select an already existing floating IP or a floating IP pool:
Every LoadBalancer
automatically also receives a SecurityGroup
that opens up the necessary ports for this load balancer. This SecurityGroup
can also be configured to only allow certain source IP ranges by setting the loadBalancerSourceRanges
field in the Service.
Note that because of a limitation in Kubernetes, updating or adding this field after the creation of a load balancer service is currently not possible.
This can have multiple reasons. Typical problems are:
kubectl port-forward $PODNAME 8080:80
(port might differ) and check if you can reach your application on Port 80.kubectl get svc
.30000 - 32767
for the internal network 192.168.0.0/16
. Usually this is set automatically.