Pod with application deployed in OCP 4 goes on crashloop after completing task
Issue
Pod with application deployed in OCP 4 goes on crashloop after completing task - below the example of application.
public class app {
public static void main(String[] args) throws InterruptedException{
System.out.println("Hello Java World!");
}
}
Environment
- Red Hat Enterprise Linux (RHEL)
- UBI 8
- OpenJDK 8, 11, 17
- Red hat OpenShift Container Platform (OCP)
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.