# io.k8s.api.core.v1.HTTPGetAction

From **Kubernetes**.

HTTPGetAction describes an action based on HTTP Get requests.

- Type: `object`

## Properties

### `host`

- Required: false
- Type: `string`

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

### `httpHeaders`

- Required: false
- Type: `array`

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

### `path`

- Required: false
- Type: `string`

Path to access on the HTTP server.

### `port`

- Required: true
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`

- Required: false
- Type: `string`

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

### `scheme`

- Required: false
- Type: `string`

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

## JSON Schema

```json
{"description":"HTTPGetAction describes an action based on HTTP Get requests.","properties":{"host":{"description":"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.","type":"string"},"httpHeaders":{"description":"Custom headers to set in the request. HTTP allows repeated headers.","items":{"$ref":"#/components/schemas/io.k8s.api.core.v1.HTTPHeader"},"type":"array","x-kubernetes-list-type":"atomic"},"path":{"description":"Path to access on the HTTP server.","type":"string"},"port":{"allOf":[{"$ref":"#/components/schemas/io.k8s.apimachinery.pkg.util.intstr.IntOrString"}],"description":"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":{"description":"Protocol selects the wire protocol for the probe connection. Nil defaults to HTTP/1.1.","type":"string"},"scheme":{"description":"Scheme to use for connecting to the host. Defaults to HTTP.","type":"string"}},"required":["port"],"type":"object"}
```
