Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

Stateful masters #211

Merged
merged 4 commits into from
Aug 21, 2018
Merged

Stateful masters #211

merged 4 commits into from
Aug 21, 2018

Conversation

skokovic
Copy link
Contributor

@skokovic skokovic commented Aug 2, 2018

Hi again Paulo :)

After your reply on issue #210, I've created stateful/es-master-stateful.yaml file which deploys master nodes as a 3 replica StatefulSet and attaches 2GB disk to each pod for persisting cluster state.
I've also edited the stateful readme file to mention master deployment as well.

Cheers!

@@ -0,0 +1,79 @@
apiVersion: apps/v1beta1
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, move to apps/v1. Also, please do this for es-data-stateful.yaml.


## Storage

The [`es-data-stateful.yaml`](es-data-stateful.yaml) file contains a `volumeClaimTemplates` section which requests a 12 GB disk. This is plenty of space for a demonstration cluster, but will fill up quickly under moderate to heavy load. Consider modifying the disk size to your needs.
The [`es-data-stateful.yaml`](es-data-stateful.yaml) and [`es-master-stateful.yaml`](es-master-stateful.yaml) files contain `volumeClaimTemplates` sections which request a 12 GB (2 GB for master pods) disks. This is plenty of space for a demonstration cluster, but will fill up quickly under moderate to heavy load. Consider modifying the disk size to your needs.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion for the sake of clarity:

volumeClaimTemplates sections which request 2GB volume for each master node, and 12GB volume for each data node.

@skokovic
Copy link
Contributor Author

Made the suggested changes @pires

@pires pires merged commit 6b8050f into pires:master Aug 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants