GerritCodeReview / k8s-gerrit

Kubernetes support for Gerrit Code Review
Other
27 stars 23 forks source link

alert 3 pod has unbound immediate PersistentVolumeClaims. #10

Closed caoheyang closed 3 years ago

caoheyang commented 3 years ago

when I use the chart to install gerrit , It's always alter 3 pod has unbound immediate PersistentVolumeClaims.

followed is my values.file

gerrit:
  replicas: 5
  canonicalWebUrl: http://c.www.heyang.com
  livenessProbe:
    initialDelaySeconds: 30
    periodSeconds: 5
    httpGet:
      path: /
      port: 8080
  readinessProbe:
    initialDelaySeconds: 5
    periodSeconds: 1
    httpGet:
      path: /
      port: 8080
  startupProbe:
    initialDelaySeconds: 10
    periodSeconds: 30
    httpGet:
      path: /
      port: 8080

storageClasses:
  default:
    name: gp2
    create: false
    provisioner: kubernetes.io/aws-ebs
    reclaimPolicy: Delete
    parameters:
      type: gp2
      fsType: ext4
  shared:
    name: efs-sc-gerrit
    create: false
    provisioner: efs.csi.aws.com
    reclaimPolicy: Delete
    parameters:
gitRepositoryStorage:
  externalPVC:
    use: false
  size: 2000Gi

ingress:
  enabled: true
  host: c.www.heyang.com
  additionalAnnotations:
    kubernetes.io/ingress.class: internet-facing
    alb.ingress.kubernetes.io/scheme: internal
    alb.ingress.kubernetes.io/target-type: ip

ps: the storageClasses gp2 and efs-sc-gerrit is earlier created.

Cloud please give me some help?

Thanks a lot.

thomasdraebing commented 3 years ago

Hi,

can you check the output of kubectl describefor the PVCs and persistent volumes? That should give some clue, why they can't bind.

Best, Thomas

caoheyang commented 3 years ago

Thanks a lot , the problem has been solved. Thank you

thomasdraebing commented 3 years ago

Good to hear. If you have any further questions, feel free to ask. The best place would be the Gerrit mailing list: https://groups.google.com/g/repo-discuss?hl=en