PersistentVolumeClaims issue on jobservice


Gaurav Negi
 

After I disabled persistence in value files, it generated the right template and using that
I was able to deploy in k8s cluster. 

Thanks
-Gaurav

On Fri, Mar 13, 2020 at 5:31 PM Gaurav Negi <gaurav.negi@...> wrote:
Dear Harbor experts,
   Can you please help me fix the issue I am facing?
I deployed Harbor via using Helm. (generated k8s manifest using helm and then applying kubectl). 

1. My jobservice POS are not coming up. All other pods are running.

prod-harbor-harbor-jobservice-65465446bb-6m6gl   0/1     Pending   0          27m

prod-harbor-harbor-jobservice-65465446bb-7n4km   0/1     Pending   0          27m

prod-harbor-harbor-jobservice-65465446bb-8mjcc   0/1     Pending   0          27m



2. Describing pods it says


Events:

  Type     Reason            Age                 From               Message

  ----     ------            ----                ----               -------

  Warning  FailedScheduling  18s (x16 over 20m)  default-scheduler  pod has unbound immediate PersistentVolumeClaims (repeated 6 times)


Some complaint about PersistentVolumeClaims


3. My manifest file says following about the jobservice. 


---

# Source: harbor/templates/jobservice/jobservice-pvc.yaml

kind: PersistentVolumeClaim

apiVersion: v1

metadata:

  name: prod-harbor-harbor-jobservice

  annotations:

    helm.sh/resource-policy: keep

  labels:

    heritage: Helm

    release: prod-harbor

    chart: harbor

    app: "harbor"

    component: jobservice

spec:

  accessModes:

    - ReadWriteOnce

  resources:

    requests:

      storage: 1Gi

---


Any input will be highly appreciated. 

Thanks
-Gaurav


Gaurav Negi
 

Dear Harbor experts,
   Can you please help me fix the issue I am facing?
I deployed Harbor via using Helm. (generated k8s manifest using helm and then applying kubectl). 

1. My jobservice POS are not coming up. All other pods are running.

prod-harbor-harbor-jobservice-65465446bb-6m6gl   0/1     Pending   0          27m

prod-harbor-harbor-jobservice-65465446bb-7n4km   0/1     Pending   0          27m

prod-harbor-harbor-jobservice-65465446bb-8mjcc   0/1     Pending   0          27m



2. Describing pods it says


Events:

  Type     Reason            Age                 From               Message

  ----     ------            ----                ----               -------

  Warning  FailedScheduling  18s (x16 over 20m)  default-scheduler  pod has unbound immediate PersistentVolumeClaims (repeated 6 times)


Some complaint about PersistentVolumeClaims


3. My manifest file says following about the jobservice. 


---

# Source: harbor/templates/jobservice/jobservice-pvc.yaml

kind: PersistentVolumeClaim

apiVersion: v1

metadata:

  name: prod-harbor-harbor-jobservice

  annotations:

    helm.sh/resource-policy: keep

  labels:

    heritage: Helm

    release: prod-harbor

    chart: harbor

    app: "harbor"

    component: jobservice

spec:

  accessModes:

    - ReadWriteOnce

  resources:

    requests:

      storage: 1Gi

---


Any input will be highly appreciated. 

Thanks
-Gaurav