LoadBalancers
How to install LoadBalancers to your Cluster
LoadBalancing Flavor should have at least:
1GB RAM
1 vCPU
Prepare the configuration file prod.yaml
Add Itera Helm Chart Repository
helm repo add itera https://repo.itera.io/repository/itera --kubeconfig=admin.conf
Install taikun-lb using helm
taikun-lb is only available for OpenStack with Octavia disabled. You need to add image https://repo.itera.io/repository/images/taikun-lb.qcow2 to OpenStack with tag "taikun-lb".
Command to add an image to OpenStack:
openstack image create --disk-format qcow2 --container-format bare --private --file taikun-lb.qcow2 --tag taikun-lb --property hw_disk_bus=scsi --property hw_scsi_model=virtio-scsi taikun-lb
helm upgrade --install itera-lb -f prod.yaml --namespace=kube-system itera/taikun-lb --kubeconfig=admin.conf
Check taikun-lb is installed
export KUBECONFIG=admin.conf; kubectl get pod
Install a test application (in this case wordpress from bitnami)
helm install test-lb bitnami/wordpress --kubeconfig=admin.conf
Wait for the service to get a floating IP assigned
kubectl get svc test-lb-wordpress
To enable proxy service for the service, add the following annotation to the service:
This is the way to restrict which IP has access to the service (https://www.haproxy.com/blog/haproxy/proxy-protocol/) for example:
Last updated
Was this helpful?