Giter Club home page Giter Club logo

Comments (5)

mcaimi avatar mcaimi commented on August 27, 2024

What is the use case here? This chart is really meant for a single-pod deployment for now, there is no storage re-allocation (and the persistent volume is declared as Read-Write-Once).
I see no real benefit in switching to StatefulSets unless you want to use this chart to deploy an highly available AMQ service, which for this particular chart is out of scope.
I am working on that in the clustered-persistence chart which has still many issues (namely routes and nodeports)

EDIT: anyways, I made the required changes in another branch (have a look here). It's rough on the edges but it's a start :)

from amq-broker-helm.

ErikLundJensen avatar ErikLundJensen commented on August 27, 2024

I suggest that we have a field for choosing Deployment vs StatefulSet.
I have created a pull-request towards "mcaimi:persistence-statefulset":

#14

from amq-broker-helm.

mcaimi avatar mcaimi commented on August 27, 2024

Saw it, I like the approach. I merged the pull-request.
I'll maybe pull it back to the master branch since now it basically support both kinds of deployments

from amq-broker-helm.

ErikLundJensen avatar ErikLundJensen commented on August 27, 2024

The service should probably only be headless when StatefulSet is used:

spec:
  {{- if eq .Values.kind "StatefulSet" }}
  clusterIP: None
  {{- end }}
  type: ClusterIP

from amq-broker-helm.

mcaimi avatar mcaimi commented on August 27, 2024

Yes that's right, I've updated the service template and have pulled back all commits into the master branch.

from amq-broker-helm.

Related Issues (14)

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.