OpenShift Nexus Pod failed to Start During the CI/CD Pipeline Deployment: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Internal=
* [[OpenShift_Troubleshooting#Cases|OpenShift Troubleshooting]]
=Overview=
=Overview=


The nexus pod would attempt to start and then would be immediately be terminated during the [[OpenShift_CI/CD_Operations#Set_Up_a_Jenkins_CI.2FCD_Pipeline|CI/CD Pipeline setup procedure]]. No useful error messages.  
Resource limit problem.
 
=Explanation=
 
The nexus pod would attempt to start and then would be immediately be terminated during the [[OpenShift_CI/CD_Operations#Set_Up_a_CI.2FCD_Pipeline|CI/CD Pipeline setup procedure]]. No useful error messages.  


Got it to start by editing the deployment configuration and requesting less memory.
Got it to start by editing the deployment configuration and requesting less memory.
Line 20: Line 28:
             memory: 1636Mi
             memory: 1636Mi
</pre>
</pre>
Editing the deployment configuration triggered a successful redeployment.

Latest revision as of 02:23, 22 November 2017

Internal

Overview

Resource limit problem.

Explanation

The nexus pod would attempt to start and then would be immediately be terminated during the CI/CD Pipeline setup procedure. No useful error messages.

Got it to start by editing the deployment configuration and requesting less memory.

oc edit dc/nexus
spec:
  template:
    metadata:
    spec:
      containers:
      - image: ...
        name: nexus
        resource:
          limits:
            cpu:
            memory: 1636Mi

Editing the deployment configuration triggered a successful redeployment.