Skip to content

Commit 9c26f03

Browse files
author
Tim Bannister
committed
Document detail about headless Services
1 parent 2516bc2 commit 9c26f03

File tree

1 file changed

+3
-0
lines changed
  • content/en/docs/concepts/services-networking

1 file changed

+3
-0
lines changed

content/en/docs/concepts/services-networking/service.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,6 +1129,9 @@ either:
11291129
* For IPv4 endpoints, the DNS system creates A records.
11301130
* For IPv6 endpoints, the DNS system creates AAAA records.
11311131

1132+
When you define a headless Service without a selector, the `port` must
1133+
match the `targetPort`.
1134+
11321135
## Discovering services
11331136

11341137
For clients running inside your cluster, Kubernetes supports two primary modes of

0 commit comments

Comments
 (0)