@jkcfg/kubernetes
Version:
jk Kubernetes library
21 lines • 632 B
JSON
{
"description": "TCPSocketAction describes an action based on opening a socket",
"properties": {
"host": {
"description": "Optional: Host name to connect to, defaults to the pod IP.",
"type": [
"string",
"null"
]
},
"port": {
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString",
"description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME."
}
},
"required": [
"port"
],
"type": "object",
"$schema": "http://json-schema.org/schema#"
}