apiVersion: v1
kind: ReplicationController
metadata:
  name: elasticsearch
  labels:
    provider: elasticsearch-1
    heritage: helm
spec:
  replicas: 1
  selector:
    provider: elasticsearch-1
  template:
    metadata:
      name: elasticsearch
      labels:
        provider: elasticsearch-1
    spec:
      containers:
      - name: elasticsearch
        image: elasticsearch:1.7
        ports:
        - containerPort: 9200
        - containerPort: 9300
