Skip to content

Commit

Permalink
Add headless service for data pods
Browse files Browse the repository at this point in the history
  • Loading branch information
skokovic authored and pires committed Aug 27, 2018
1 parent c980393 commit 3319fc4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions stateful/es-data-svc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: elasticsearch-data
labels:
component: elasticsearch
role: data
spec:
ports:
- port: 9300
name: transport
clusterIP: None
selector:
component: elasticsearch
role: data

0 comments on commit 3319fc4

Please sign in to comment.