Answers: <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>
  
Answers: CC BY-SA 4.0
Answers: 2022-11-12T03:38:43.693Z
Answers: That's great, thank you
Answers: narendra
Answers: CC BY-SA 4.0
Answers: 2022-11-11T15:12:50.090Z
Answers: 2022-11-11T15:13:19.850Z
Answers: 2022-11-11T15:13:19.850Z
Answers: 山河以无恙
Body: <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>
  
Tags: <kubernetes>
Title: which path has to be specified in httpGet handler in kubernetes?
UserDisplayName: narendra
ThreadText: # 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  
  
  ---
  
  