Skip to content

Commit

Permalink
Stateful v1 fix: Add selectors matching labels
Browse files Browse the repository at this point in the history
  • Loading branch information
skokovic authored and pires committed Aug 27, 2018
1 parent 3319fc4 commit 662e742
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stateful/es-data-stateful.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ metadata:
component: elasticsearch
role: data
spec:
selector:
matchLabels:
component: elasticsearch
role: data
serviceName: elasticsearch-data
replicas: 3
template:
Expand Down
4 changes: 4 additions & 0 deletions stateful/es-master-stateful.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ metadata:
component: elasticsearch
role: master
spec:
selector:
matchLabels:
component: elasticsearch
role: master
serviceName: elasticsearch-master
replicas: 3
template:
Expand Down

0 comments on commit 662e742

Please sign in to comment.