GithubHelp home page GithubHelp logo

EKS Storage Volume Support about helm-charts HOT 3 CLOSED

elastic avatar elastic commented on July 20, 2024
EKS Storage Volume Support

from helm-charts.

Comments (3)

Crazybus avatar Crazybus commented on July 20, 2024

I work at Nike and we are using EKS.

While we don't have any automated testing yet for EKS it has been manually confirmed to work. As long as the Kubernetes provider has some kind of persistent storage (which EKS does) it's going to work just fine.

Have you been able to run other statefulsets with the same volumeClaimTemplate configuration?

Could you give me the following to help debug:

  • Your values.yaml configuration (mostly interested in the volumeClaimTemplate settings).
  • Output of the following commands:
kubectl get sc
kubectl get pvc
kubectl get events
kubectl get sts elasticsearch-master -o yaml # (or whatever your deployment is called)
kubectl describe pod elasticsearch-master-0

from helm-charts.

NEPDAVE avatar NEPDAVE commented on July 20, 2024

output.txt

Thank you for getting back to me! It is much appreciated. We tried a workaround that fixed the original error message. Not sure if this is a "real" workaround, dumb luck, or something else. I have also attached the requested output. The output is from the current configuration which is not encountering the original error message.

Again, here is the original error message:
pod has unbound immediate PersistentVolumeClaims (repeated 3 times)

The steps taken for the "workaround" are here:

We created a new storage class on the cluster named "elasticsearch" of type "gp2".

Her is the yaml:

kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: elasticsearch
  annotations:
    storageclass.kubernetes.io/is-default-class: "true"
provisioner: kubernetes.io/aws-ebs
parameters:
  type: gp2
  fsType: ext4 

In the values.yaml file we changed the storageClassName: "standard" variable to storageClassName: "elasticsearch".

Here is the volumeClaimTemplate section taken from loading the vaules.yalm variables into the statefulset.yaml template:

volumeClaimTemplates:
  - metadata:
      name: elasticsearch-master
    spec:
      accessModes:
      - ReadWriteOnce
      resources:
        requests:
          storage: 30Gi
      storageClassName: elasticsearch

Deploying this configuration via Helm worked. We then deleted the resources from the "workaround" configuration and tried going back to our "original" configuration - IE we changed the values.yaml file storageClassName: "standard" variable to storageClassName: "gp2" . and deployed again via Helm and this also worked.

Here is the volumeClaimTemplate we currently have in the cluster:

volumeClaimTemplates:
  - metadata:
      name: elasticsearch-master
    spec:
      accessModes:
      - ReadWriteOnce
      resources:
        requests:
          storage: 30Gi
      storageClassName: gp2

We are going to continue testing this for a proof of concept. Thank you for your help. Please let me know if you have any questions or require additional information.

from helm-charts.

NEPDAVE avatar NEPDAVE commented on July 20, 2024

I am going to close the issue seeing how we are not encountering the original error message. Again, please let me know if you have any follow up questions or require additional information.

from helm-charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.