@jkcfg/kubernetes
Version:
jk Kubernetes library
32 lines • 756 B
JSON
{
"description": "EndpointPort is a tuple that describes a single port.",
"properties": {
"name": {
"description": "The name of this port (corresponds to ServicePort.Name). 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#"
}