Skip to content

Commit b4c1c2e

Browse files
new description for appProtocol docs to reflect KEP-3726 (#40881)
* add docs to reflect KEP-3726 * trigger tests * replace "either" with "one of" Co-authored-by: Qiming Teng <[email protected]> --------- Co-authored-by: Qiming Teng <[email protected]>
1 parent 695642d commit b4c1c2e

File tree

1 file changed

+15
-4
lines changed
  • content/en/docs/concepts/services-networking

1 file changed

+15
-4
lines changed

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

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -348,12 +348,23 @@ The same API limit means that you cannot manually update an Endpoints to have mo
348348
{{< feature-state for_k8s_version="v1.20" state="stable" >}}
349349

350350
The `appProtocol` field provides a way to specify an application protocol for
351-
each Service port. The value of this field is mirrored by the corresponding
351+
each Service port. This is used as a hint for implementations to offer richer behavior for protocols that they understand.
352+
The value of this field is mirrored by the corresponding
352353
Endpoints and EndpointSlice objects.
353354

354-
This field follows standard Kubernetes label syntax. Values should either be
355-
[IANA standard service names](https://www.iana.org/assignments/service-names) or
356-
domain prefixed names such as `mycompany.com/my-custom-protocol`.
355+
This field follows standard Kubernetes label syntax. Valid values are one of:
356+
357+
* [IANA standard service names](https://www.iana.org/assignments/service-names).
358+
359+
* Implementation-defined prefixed names such as `mycompany.com/my-custom-protocol`.
360+
361+
* Kubernetes-defined prefixed names:
362+
363+
| Protocol | Description |
364+
|----------|-------------|
365+
| `kubernetes.io/h2c` | HTTP/2 over cleartext as described in [RFC 7540](https://www.rfc-editor.org/rfc/rfc7540) |
366+
367+
357368

358369
### Multi-port Services
359370

0 commit comments

Comments
 (0)