Skip to content

Jenkins pod crashloops due to missing ConfigMaps and failed PostStartHook #44

Description

@Jacobious08

The jenkins pod in the nita namespace is stuck in CrashLoopBackOff. The container repeatedly fails its PostStart hook and reports missing ConfigMap volumes.

Environment

  • OS: ubuntu v24.04
  • k3s version: v1.32.3+k3s1
  • Jenkins image: juniper/nita-jenkins:23.12-1
  • Namespace: nita

Details

  • Container state:
    • Last exit code: 143
    • Reason: CrashLoopBackOff
  • Events:
    • FailedPostStartHook (multiple times)
    • FailedMount for volumes:
      • jenkins-crt: object "nita"/"jenkins-crt" not registered
      • jenkins-cert: object "nita"/"jenkins-keystore" not registered

Expected Behavior

The Jenkins container should start successfully and the pod should reach the Ready state.

Actual Behavior

The Jenkins container repeatedly crashes due to PostStartHook failure and missing ConfigMaps, leading to CrashLoopBackOff.

Issue

The following ConfigMaps appear to be missing:

  • jenkins-crt
  • jenkins-keystore

Check if these ConfigMaps need to be created or referenced correctly in the install script.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions