ServiceTemplateSpecContainerPort

data class ServiceTemplateSpecContainerPort(val containerPort: Int? = null, val name: String? = null, val protocol: String? = null)

Constructors

Link copied to clipboard
constructor(containerPort: Int? = null, name: String? = null, protocol: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val containerPort: Int? = null

Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".

Link copied to clipboard
val name: String? = null

If specified, used to specify which protocol to use. Allowed values are "http1" (HTTP/1) and "h2c" (HTTP/2 end-to-end). Defaults to "http1".

Link copied to clipboard
val protocol: String? = null

Protocol for port. Must be "TCP". Defaults to "TCP".