You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Kubernetes service discovery for initContainers #5563
Yes, init containers must complete before the "normal" containers are started. And yes they will be down forever once they complete, if not removed from discovery once they complete (which should be possible with discovery information from its status). Generally speaking though from the Prometheus perspective init containers can run for some time, and monitoring team would still be useful.
Activity
gouthamve commentedon May 27, 2019
If we do scrape them, how to deal with them if they die? Is that target going to be down forever? /cc @brancz?
brancz commentedon May 28, 2019
Yes, init containers must complete before the "normal" containers are started. And yes they will be down forever once they complete, if not removed from discovery once they complete (which should be possible with discovery information from its status). Generally speaking though from the Prometheus perspective init containers can run for some time, and monitoring team would still be useful.