Skip to content
This repository has been archived by the owner on May 18, 2020. It is now read-only.

Commit

Permalink
Elasticsearch deploy two replicas
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <[email protected]>
  • Loading branch information
pavolloffay committed Oct 10, 2017
1 parent f527fbb commit 1b0040c
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@ items:
kind: StatefulSet
metadata:
name: elasticsearch
labels:
app: jaeger
jaeger-infra: elasticsearch-statefulset
spec:
serviceName: elasticsearch
replicas: 1
replicas: 2
template:
metadata:
labels:
app: jaeger
type: databases
availability: restricted
jaeger-infra: elasticsearch-statefulset
app: jaeger-elasticsearch
jaeger-infra: elasticsearch-replica
spec:
containers:
- name: elasticsearch
Expand All @@ -39,6 +40,7 @@ items:
args:
- "-Ehttp.host=0.0.0.0"
- "-Etransport.host=127.0.0.1"
- "-Ecluster.name=foobar"
volumeMounts:
- name: data
mountPath: /data
Expand All @@ -55,10 +57,12 @@ items:
spec:
clusterIP: None
selector:
app: elasticsearch
app: jaeger-elasticsearch
ports:
- port: 9200
name: elasticsearch
- port: 9300
name: transport
- apiVersion: extensions/v1beta1
kind: Deployment
metadata:
Expand Down

0 comments on commit 1b0040c

Please sign in to comment.