March 2020
Intermediate to advanced
626 pages
14h 45m
English
Managed Kubernetes services such as Google or IBM Cloud will provide an external load balancer. Since our Kubernetes environment is standalone, we do not have an external load balancer; we install and use keepalived as a load balancer.
The keepalived load balancer depends on the ip_vs kernel module to be loaded. Follow these steps:
$ sudo lsmod | grep ^ip_vsip_vs_wlc 12519 0ip_vs 145497 2 ip_vs_wlc
$ sudo ipvsadm -lnIP Virtual Server version 1.2.1 (size=4096)Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn
Read now
Unlock full access