The Kubernetes Service Type that exposes the service externally using a static port is:
B. NodePort
In a NodePort service, Kubernetes allocates a static port on each node in the cluster. This port is used to expose the service externally. Clients can reach the service using the node's IP address and the allocated static port.
I will go with B, here's why:
https://medium.com/google-cloud/kubernetes-nodeport-vs-loadbalancer-vs-ingress-when-should-i-use-what-922f010849e0
A. Headless - No, this is nonsense
B. NodePort - Yes, a nodeport is a primitive way to provide external access to a service
C. ExternalName - No, this doesn't provide any access to anything, it's a name
D. ClusterIP - No, ClusterIP is always internal
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
KingJ92
2 months, 2 weeks agoobeythefist
10 months, 1 week agoAbhi333
10 months, 1 week ago