Skip to content

Support httpHead for pod livenessProbe #49937

Closed as not planned
Closed as not planned
@SEJeff

Description

@SEJeff

/kind feature

What happened:
The docs for http liveness probes only reference httpGet, but a http HEAD request is better for healthchecks as no data is returned so it is lighter weight.

What you expected to happen:
I would expect a httpHead directive to exist. It would perform a request such as:

HEAD / HTTP/1.1

vs httpGet, which does something like:

GET / HTTP/1.1

How to reproduce it (as minimally and precisely as possible):

Create a livenessProbe and be 😞 that HEAD requests aren't available.

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.sig/nodeCategorizes an issue or PR as relevant to SIG Node.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions