Uploaded image for project: 'Operations and Maintenance'
  1. Operations and Maintenance
  2. OAM-265

Deployment: jenkins pod not comming up, missing pv

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • F-Release
    • None
    • None
    • None
    • F-Release INT Sprint

      First solution proposal, can be used as workaround, but needs to adopted in other environments (storage classes?)

      #pv-jenkins.yaml
      apiVersion: v1
      kind: PersistentVolume
      metadata:
        name: jenkins-pv-volume
        labels:
          type: local
      spec:
        storageClassName:
        capacity:
          storage: 10Gi
        accessModes:
          - ReadWriteOnce
        hostPath:
          path: "/dockerdata-nfs/jenkins"
       

      execute

      kubectl apply -f pv-jenkins.yaml 

      in this case write rights of /dockerdata-nfs/jenkins needs to be ensured

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sebdet Sébastien Determe
            demskeq8 Alexander Dehn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: