forked from cw-ozaki/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathendpointport-v1.json
39 lines (39 loc) · 1.24 KB
/
endpointport-v1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"description": "EndpointPort is a tuple that describes a single port.",
"properties": {
"appProtocol": {
"description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. Field can be enabled with ServiceAppProtocol feature gate.",
"type": [
"string",
"null"
]
},
"name": {
"description": "The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined.",
"type": [
"string",
"null"
]
},
"port": {
"description": "The port number of the endpoint.",
"format": "int32",
"type": [
"integer",
"null"
]
},
"protocol": {
"description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.",
"type": [
"string",
"null"
]
}
},
"required": [
"port"
],
"type": "object",
"$schema": "http://json-schema.org/schema#"
}