{
  "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": "/api/_definitions.json#/$defs/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": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://kubernetes.io/api/tcpsocketaction/v1"
}