apiVersion: v1 kind: Service metadata: namespace: emc name: stats-es labels: app: elasticsearch tier: stats spec: selector: app: elasticsearch tier: stats clusterIP: 172.18.242.12 ports: - name: http port: 9200