Coder Social home page Coder Social logo

Comments (6)

naseemkullah avatar naseemkullah commented on September 18, 2024

Hi @schmurfy so this is due to the way the dependency cassandra chart works, it has a somewhat custom approach to the values nesting nodeSelector one level deeper: https://github.com/helm/charts/blob/39777352ebc9085cd0d4ed928d4b173f26244c7f/incubator/cassandra/values.yaml#L105-L109

from helm-charts.

schmurfy avatar schmurfy commented on September 18, 2024

Thanks, I read what you linked but I am not sure what I need to write, is it this ?

collector:
  nodeSelector: &selector
    pool: jaeger

query:
  nodeSelector: *selector

selector:
  nodeSelector:
    cassandra: *selector

Edit: I tested this and a few variant and I am sorry but I still don't get what I am supposed to write.

from helm-charts.

naseemkullah avatar naseemkullah commented on September 18, 2024

Try

cassandra:
  selector:
    nodeSelector: *selector

To get what you are supposed to write you would need to look at the chart being configured's quirks: https://github.com/helm/charts/blob/39777352ebc9085cd0d4ed928d4b173f26244c7f/incubator/cassandra/templates/statefulset.yaml#L37-L39

from helm-charts.

schmurfy avatar schmurfy commented on September 18, 2024

Thanks but it still does not work.

I tried this:

collector:
  nodeSelector: &selector
    pool: jaeger

query:
  nodeSelector: *selector

cassandra:
  selector:
    nodeselector: *selector

I also tried the following which is in the cassandra chart readme without more luck:

nodes:
  enabled: true
  selector:
    nodeSelector: *selector

and:

cassandra:
  nodes:
    enabled: true
    selector:
      nodeSelector: *selector

I really tried to understand what I was supposed to write by looking at the templates but this is totally cryptic to me :/
query & collector get their node selector correctly set but cassandra never got one...

from helm-charts.

schmurfy avatar schmurfy commented on September 18, 2024

after even more attempts from a colleage after I gave up he finally found the working version:

cassandra:
  selector:
    nodeSelector:
      pool: jaeger

The more I use helm and the more amazed I am this thing even exists, it feels like a bag of junk stitched together...

from helm-charts.

naseemkullah avatar naseemkullah commented on September 18, 2024

Thanks but it still does not work.

I tried this:

collector:
  nodeSelector: &selector
    pool: jaeger

query:
  nodeSelector: *selector

cassandra:
  selector:
    nodeselector: *selector

I also tried the following which is in the cassandra chart readme without more luck:

nodes:
  enabled: true
  selector:
    nodeSelector: *selector

and:

cassandra:
  nodes:
    enabled: true
    selector:
      nodeSelector: *selector

I really tried to understand what I was supposed to write by looking at the templates but this is totally cryptic to me :/
query & collector get their node selector correctly set but cassandra never got one...

😏

Sorry the reason that did not work is because i had a typo in nodeSelector (S was not capitalized) I fixed the original suggestion. I think you can still use anchor/alias syntax.

Helm is pretty good imho, but perhaps you would be more interested in deploying with the operator (which itself could be deployed by helm if you wanted):

https://github.com/jaegertracing/jaeger-operator

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.