OpenShift Nexus Pod failed to Start During the CI/CD Pipeline Deployment

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

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.