@jkcfg/kubernetes
Version:
jk Kubernetes library
29 lines • 727 B
JSON
{
"$schema": "http://json-schema.org/schema#",
"required": [
"port"
],
"type": "object",
"description": "EndpointPort is a tuple that describes a single port.",
"properties": {
"protocol": {
"type": [
"string",
"null"
],
"description": "The IP protocol for this port. Must be UDP or TCP. Default is TCP."
},
"name": {
"type": [
"string",
"null"
],
"description": "The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined."
},
"port": {
"type": "integer",
"description": "The port number of the endpoint.",
"format": "int32"
}
}
}