GithubHelp home page GithubHelp logo

Allow hostPath for data about helm-charts HOT 8 CLOSED

micw avatar micw commented on July 20, 2024
Allow hostPath for data

from helm-charts.

Comments (8)

Crazybus avatar Crazybus commented on July 20, 2024

Hey Michael,

When using hostpaths how do you make sure that each pod is scheduled to the node with that pods data? My understanding is that this was the main reason that the local storage volumes was created to address. If there is some kind of trick to guarantee this then I would be open to the idea.

from helm-charts.

micw avatar micw commented on July 20, 2024

@Crazybus In my deployments I use nodeSelector for this (e.g. tag all date nodes with elasticsearch/datanode=true and use this as selector).
Edit: actually hostPath is a workaround for a current limitation in K8S - it's just not possible to auto-provision local storage or hostPath volumes.

from helm-charts.

Crazybus avatar Crazybus commented on July 20, 2024

@Crazybus In my deployments I use nodeSelector for this (e.g. tag all date nodes with elasticsearch/datanode=true and use this as selector).

Could you give a bit more info since I still don't understand how that would work. This sounds like your pods could land on any of the data nodes that were tagged with elasticsearch/datanode=true. I'd like to understand how you can have 6 Kubernetes nodes and a 3 pod statefulset and keep the pods on the correct host which has their data.

Edit: actually hostPath is a workaround for a current limitation in K8S - it's just not possible to auto-provision local storage or hostPath volumes.

I was able to get local persistent volumes working with auto provisioning and have documented it in the readme. This was on GCP so it probably wouldn't work for an on-prem cluster but it is indeed possible.

I tested it following the running the local volume static provisioner for GKE.

from helm-charts.

botelastic avatar botelastic commented on July 20, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from helm-charts.

liquid-cloud avatar liquid-cloud commented on July 20, 2024

Would love this feature!

from helm-charts.

botelastic avatar botelastic commented on July 20, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from helm-charts.

botelastic avatar botelastic commented on July 20, 2024

This issue has been automatically closed because it has not had recent activity since being marked as stale.

from helm-charts.

hjyoti avatar hjyoti commented on July 20, 2024

Can any one explain how to use hostPath iun helm chart

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.