<p><code>path</code> is used to declare the service's <code>routing address</code> / <code>interface address</code> / <code>API</code></p>
<p>When using <code>livenessProbe.httpGet</code> as a health checker, a health query is required, i.e. it calls a uri to confirm the service health based on the returned status code</p>
<p>The composition of this uri: <code>scheme://podIp:port/path</code> == <code>http://10.244.171.183:8080/index.html</code></p>

CC BY-SA 4.0
2022-11-12T03:38:43.693Z
That's great, thank you
narendra
CC BY-SA 4.0
2022-11-11T15:12:50.090Z
2022-11-11T15:13:19.850Z
2022-11-11T15:13:19.850Z
山河以无恙
<p>I just started learning Kubernetes and I am confused about the 'path' parameter in httpGet handler in kubernetes probes. can anyone explain about that please?</p>

<kubernetes>
which path has to be specified in httpGet handler in kubernetes?
narendra
# which path has to be specified in httpGet handler in kubernetes?

(Asked by: username_0 on 2022-11-11)

I just started learning Kubernetes and I am confused about the 'path' parameter in httpGet handler in kubernetes probes. can anyone explain about that please?

**Tags:** kubernetes


---

## 1 answers

### Answer by username_1 on 2022-11-11. Score: 0

`path` is used to declare the service's `routing address` / `interface address` / `API`

When using `livenessProbe.httpGet` as a health checker, a health query is required, i.e. it calls a uri to confirm the service health based on the returned status code

The composition of this uri: `scheme://podIp:port/path` == `http://10.244.171.183:8080/index.html`

> **Comments:**
> **username_0**: That's great, thank you  

---

