Skip to content

Commit

Permalink
Use StatefulSet from apps/v1 API for ES and Cassandra (#727)
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <[email protected]>
  • Loading branch information
pavolloffay authored Oct 25, 2019
1 parent 954a44e commit 49b9ae7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion test/cassandra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,17 @@ items:
clusterIP: None
selector:
app: cassandra
- apiVersion: "apps/v1beta1"
- apiVersion: "apps/v1"
kind: StatefulSet
metadata:
name: cassandra
labels:
app: jaeger
jaeger-infra: cassandra-statefulset
spec:
selector:
matchLabels:
app: cassandra
serviceName: cassandra
replicas: 3
template:
Expand Down
5 changes: 4 additions & 1 deletion test/elasticsearch.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: elasticsearch
labels:
app: jaeger
jaeger-infra: elasticsearch-statefulset
spec:
selector:
matchLabels:
app: jaeger-elasticsearch
serviceName: elasticsearch
replicas: 1
template:
Expand Down

0 comments on commit 49b9ae7

Please sign in to comment.