nigelpoulton / TheK8sBook

YAML files for use with The Kubernetes Book
822 stars 665 forks source link

Can a service be accessed by its port only? #6

Closed AnatoliiStepaniuk closed 4 years ago

AnatoliiStepaniuk commented 4 years ago
Screenshot 2020-08-22 at 13 22 37

Does it mean that the Service can be accessed by its internal port only? (without specifying the IP).

nigelpoulton commented 4 years ago

Good spot @AnatoliiStepaniuk

You can only connect via ClusterIP + port or Name + port. I'll clarify this in the next edition!