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
Line 1: Line 1:
=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]].
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.
 
Got it to start by editing the deployment configuration and requesting less memory.
 
oc edit dc/nexus
 
<pre>
spec:
  template:
    metadata:
    spec:
      containers:
      - image: ...
        name: nexus
        resource:
          limits:
            cpu:
            memory: 1636Mi

Revision as of 20:03, 1 November 2017

Overview

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