Helm issues

  1. Helm install pod in pending state:
    When you execute kubectl get events you will see the following error:
    no persistent volumes available for this claim and no storage class is set or
    PersistentVolumeClaim is not bound
    This error usually comes in kubernetes set with kubeadm.
    You will need to create persistentvolume with the following yaml file:

    kind: PersistentVolume
    apiVersion: v1
    metadata:
      name: redis-data
      labels:
        type: local
    spec:
      storageClassName: generic
      capacity:
        storage: 8Gi
      accessModes:
        - ReadWriteOnce
      hostPath:
        path: "/bitnami/redis"
    
    

    create pv with kubectl create -f pv-create.ymlThen you will need to create pvc with following yaml

    kind: PersistentVolumeClaim
    apiVersion: v1
    metadata:
      name: redis-data
    spec:
      storageClassName: generic
      accessModes:
        - ReadWriteOnce
      resources:
        requests:
          storage: 8Gi
    
    

    You will need to create pvc with kubectl create -f pv-claim.ymlCheck the pvc status with kubectl get pvc with status should be bound.

4 thoughts on “Helm issues”

  1. You actually make it seem really easy together with your presentation however I find this matter to be actually one thing that I think I would by no means understand. It sort of feels too complicated and extremely large for me. I’m having a look forward on your next put up, I’ll try to get the cling of it!

    Like

  2. Excellent weblog here! Also your site a lot up very fast! What host are you the use of? Can I get your affiliate link on your host? I desire my site loaded up as fast as yours lol

    Like

  3. Thank you a lot for sharing this with all folks you actually understand what you’re speaking about! Bookmarked. Kindly also visit my web site =). We could have a link alternate agreement among us!

    Like

Leave a comment