Skip to content

Commit

Permalink
Update overview.md (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReubenBond committed Nov 15, 2023
1 parent 6a0ff5a commit f0f7e55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/service-discovery/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ var basket = builder.AddProject<Projects.BasketService>("basket")

### Named endpoints in Kubernetes using DNS SRV

When deploying to Kubernetes, the DNS SRV service endpoint resolver can be used to resolve named endpoints. For example, the following resource definition will result in a DNS SRV record being created for an endpoint named "http" and an endpoint named "dashboard", both on the service named "basket".
When deploying to Kubernetes, the DNS SRV service endpoint resolver can be used to resolve named endpoints. For example, the following resource definition will result in a DNS SRV record being created for an endpoint named "default" and an endpoint named "dashboard", both on the service named "basket".

```yml
apiVersion: v1
Expand All @@ -82,7 +82,7 @@ spec:
name: basket-service
clusterIP: None
ports:
- name: http
- name: default
port: 8080
- name: dashboard
port: 8888
Expand Down

0 comments on commit f0f7e55

Please sign in to comment.