EventStore.Charts icon indicating copy to clipboard operation
EventStore.Charts copied to clipboard

Changed default cluster size back to 3

Open GoatCodeNL opened this issue 5 years ago • 6 comments

Signed-off-by: Niels van Esch [email protected]

PR Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • [x] Chart Version bumped
  • [x] Chart packaged and index updated (you can use ./release)
  • [x] CHANGELOG.md updated

What this PR does / why we need it: This PR restores the default clustersize to 3. to make it consistent with documentation, with other default values and expected behaviour.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #36

Special notes for your reviewer:

GoatCodeNL avatar Jun 07 '19 08:06 GoatCodeNL

I don't have permission to merge. This PR need to be merged

riccardone avatar Jun 07 '19 13:06 riccardone

We had changed the default cluster size back to 1 so the port forwarding worked out of the box. My mistake to not update the docs. Could we just update the docs to have the default value as 1?

ameier38 avatar Jun 13 '19 16:06 ameier38

can you please do that in a new PR and then we can eventually ask to close this one

riccardone avatar Jun 13 '19 18:06 riccardone

Ofcourse I can change it. However I disagree that this would be the better default.

  • 3 is more like production
  • 1 conflicts with current pdb default. This defaults to minAvailable of 2. It will never reach this. This means rolling updates get stuck and terminating instances do an unclean shutdown.
  • Portforwards are a debug situation.

Honstly I would rather make a pr for you to add a note to the portforward docs.

But I leave that up to you. Please let me know your preferred solution and I’ll make the PR.

GoatCodeNL avatar Jun 14 '19 15:06 GoatCodeNL

I agree that 3 is more like production, but also think that @hnicke raised a good point here that the chart should work out of the box with port-forwarding so it is easy to get started.

What if we added a values-production.yml similar to the postgres chart and added clusterSize: 3 there?

ameier38 avatar Jun 14 '19 22:06 ameier38

I'll see if I can create the PR somewhere this week. I'll create a PR with:

  • updated documents
  • changed PDB (defaulting to maxunavailable 1 in stead of minavailable 2
  • values-production.yaml
  • production advisory doc

GoatCodeNL avatar Jun 16 '19 11:06 GoatCodeNL