Sidecar containers in Kubernetes Jobs?

前端 未结 1 1870
说谎
说谎 2020-12-14 06:49

We use Kubernetes Jobs for a lot of batch computing here and I\'d like to instrument each Job with a monitoring sidecar to update a centralized tracking system

相关标签:
1条回答
  • 2020-12-14 07:50

    You can use the downward api to figure out your own podname from within the sidecar, and then retrieving your own pod from the apiserver to lookup exist status. Let me know how this goes.

    0 讨论(0)
提交回复
热议问题