Skip to content

httpGet

HTTPGet specifies the http request to perform.

object

PropertyTypeRequiredDefaultDescription
hoststring / nullNo-Host name to connect to, defaults to the pod IP. You prob…
httpHeadersarray / nullNo-Custom headers to set in the request. HTTP allows repeate…
pathstring / nullNo-Path to access on the HTTP server.
portstring / integerYes-Name or number of the port to access on the container. Nu…
schemestring / nullNo-Scheme to use for connecting to the host. Defaults to HTTP.

Host name to connect to, defaults to the pod IP. You probably want to set “Host” in httpHeaders instead.

Custom headers to set in the request. HTTP allows repeated headers.

Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.