OpenShift Init Container

From NovaOrdis Knowledge Base
Revision as of 01:51, 19 September 2019 by Ovidiu (talk | contribs) (→‎Resources)
Jump to navigation Jump to search

External

Internal

Overview

Kubernetes Init Containers

Troubleshooting Init Containers

The logs of init containers can be accessed by identifying the name of the init container with:

oc describe po/a-1-0g52b

...
Init Containers:
 b-dependency-checker:
  ...

and then getting the logs from that specific container:

oc logs -f -c b-dependency-checker po/a-1-0g52b

Application Dependency Example

https://github.com/NovaOrdis/playground/tree/master/openshift/applications/service-dependency

TODO: write a step-by-step article.