c12s-kubespray/roles/addons/files/es-svc.yaml

17 lines
335 B
YAML
Raw Normal View History

2015-10-03 20:19:50 +00:00
apiVersion: v1
kind: Service
metadata:
name: elasticsearch-logging
namespace: kube-system
labels:
k8s-app: elasticsearch-logging
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "Elasticsearch"
spec:
ports:
- port: 9200
protocol: TCP
targetPort: db
selector:
k8s-app: elasticsearch-logging