Monitoring the Health of Infrastructure and Applications
In the last chapter, we looked at how to expose Services outside of the cluster, and load balancers were used to expose applications to the outside network. The single Internet Protocol (IP) address of a load balancer is used to redirect incoming requests to your application. The LoadBalancer
Kubernetes service is implemented by MetalLB
. MetalLB
assigns a client an IP address from a predefined range when a LoadBalancer
service is requested and informs the network that the IP address is in the cluster. MetalLB
, which may be deployed alongside Ingress in the same Kubernetes cluster, can also be utilized as a load balancer. Another technique to expose the Ingress controller to the outside world is through NodePort
. Both options were explored in detail in the previous chapter, with various examples.
In this chapter, we will look at various options for monitoring, logging, and alerting for your infrastructure and applications....