Skip to main content
Schemaobject

io.k8s.api.core.v1.HTTPGetAction

HTTPGetAction describes an action based on HTTP Get requests.

Source
specs/api__v1_openapi.json
Revision
9a79c3bd90f7
Active snapshot
2a9112600697
host string
optional

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

httpHeaders array
optional

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

path string
optional

Path to access on the HTTP server.

port
required

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.

protocol string
optional

Protocol selects the wire protocol for the probe connection. Nil defaults to HTTP/1.1.

scheme string
optional

Scheme to use for connecting to the host. Defaults to HTTP.