Welcome to the Linux Foundation Forum!

Question 9.3

question 9.3 is:

Which of the following service types spreads packets among Pods in a Deployment automatically?

According to the quiz NodePort is wrong. I would argue that NodePort is a correct answer, too. Here you find this statement:

Exposes the Service on each Node's IP at a static port (the NodePort). A ClusterIP Service, to which the NodePort Service routes, is automatically created.

As the spreading of packets between Pods is provided through the ClusterIP, it also happens for a NodePort service. The difference between LoadBalancer and NodePort is the spreading among cluster nodes, isn't it?

Comments

  • chrispokorni
    chrispokorni Posts: 1,170

    Hi @deissnerk,

    Traffic spreading across cluster nodes is not necessarily a difference between the NodePort and LoadBalancer service types, but an additional feature of the LoadBalancer service type.

    Otherwise, this question should allow for multiple answers to be selected.

    Regards,
    -Chris

Categories

Upcoming Training