kubernetes v1.37

PodTemplateSpec.spec.containers.lifecycle.preStop.tcpSocket.port

IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.

1 fields
PodTemplateSpec.spec.containers.lifecycle.preStop.tcpSocket.port fields and descriptions
Field / TypeDescription
PodTemplateSpec.spec.containers.lifecycle.preStop.tcpSocket.port
integer | string

IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.

  • format: int-or-string