Chapter 7. Service Discovery Flashcards
1
Q
What is Service Discovery ?
A
Service-discovery tools help solve the problem of finding which processes are listening at which addresses for which services
2
Q
What features makes a good Service Discovery ?
A
- A good service-discovery system will enable users to resolve this information quickly and reliably.
- A good system is also low-latency; clients are updated soon after the information associated with a service changes.
3, Finally, a good service-discovery system can store a richer definition of what that service is.
3
Q
What is a Service Object ?
A
A Service object is a way to create a named label selector
4
Q
Command to create a service:
A
expose
ej: kubectl expose deployment alpaca-prod
5
Q
What is a Kubernetes DNS Service ?
A
The Kubernetes DNS service provides DNS names for cluster IPs.
6
Q
Command to create a service and a nodePort:
A
expose
ej: kubectl expose –nodePort deployment alpaca-prod