Skip to content

Commit fd7fa1f

Browse files
authored
Merge pull request #41195 from sftim/20230223_add_detail_headless_service
Document detail about headless Services
2 parents 590e871 + 9c26f03 commit fd7fa1f

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
@@ -866,6 +866,9 @@ either:
866866
* For IPv4 endpoints, the DNS system creates A records.
867867
* For IPv6 endpoints, the DNS system creates AAAA records.
868868

869+
When you define a headless Service without a selector, the `port` must
870+
match the `targetPort`.
871+
869872
## Discovering services
870873

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

0 commit comments

Comments
 (0)