<p>the most common example would be some sort of logging sidecar.  Depending on your implementation or your service you may want a service that manipulates the files for the pod etc.  Some databases can use sidecars for log shipping in replication, or you might see some process to clean up log files as well.  Although available, those options are not suggested specifically because there are more alternatives.  </p>

CC BY-SA 4.0
2018-06-26T16:45:45.090Z
2018-06-26T16:45:45.090Z
Jeff Garrett
<p>Couple of questions here: a) what the concept of Pod object satisfies? There is the  pause container which holds the namespace for the actual ‘app’ container(s) that will get added later and use that namespace. So, what operations in real life qualify to have more than one containers running in a Pod ? Can you provide to the point examples? What are considered sidecar operations after all?</p>

<p>b) what is the threshold for e.g. N containers in the Pod that master will be able to tell that Pod is not healthy? So basically, how many containers in a Pod need to be down to mark the Pod down?</p>

<kubernetes>
Pod object and Pod’s health
vincent
# Pod object and Pod’s health

(Asked by: username_0 on 2018-06-05)

Couple of questions here: a) what the concept of Pod object satisfies? There is the pause container which holds the namespace for the actual ‘app’ container(s) that will get added later and use that namespace. So, what operations in real life qualify to have more than one containers running in a Pod ? Can you provide to the point examples? What are considered sidecar operations after all?

b) what is the threshold for e.g. N containers in the Pod that master will be able to tell that Pod is not healthy? So basically, how many containers in a Pod need to be down to mark the Pod down?

**Tags:** kubernetes


---

## 1 answers

### Answer by username_1 on 2018-06-26. Score: 1

the most common example would be some sort of logging sidecar. Depending on your implementation or your service you may want a service that manipulates the files for the pod etc. Some databases can use sidecars for log shipping in replication, or you might see some process to clean up log files as well. Although available, those options are not suggested specifically because there are more alternatives.


---

