May 2018
Intermediate to advanced
554 pages
13h 51m
English
To publish applications in Kubernetes, we can leverage either Kubernetes Service, with type NodePort or LoadBalancer, or Kubernetes Ingress. For NodePort service, as introduced in previous section, the port number of the node will be a pair with the Service. Like the following diagram, port 30361 on both node 1 and node 2 points to Service A, which dispatch the traffics to Pod1 and a Pod with static probability.
LoadBalancer Service, as you may have learned from the recipe Working with Services in Chapter 2, Walking through Kubernetes Concepts, includes the configurations of NodePort. Moreover, a LoadBalancer Service can work with an external load balancer, providing users with the functionality to integrate ...
Read now
Unlock full access