kubeasz/manifests/efk/es-service.yaml

19 lines
400 B
YAML
Raw Normal View History

2018-03-13 18:17:48 +08:00
apiVersion: v1
kind: Service
metadata:
name: elasticsearch-logging
namespace: kube-system
labels:
k8s-app: elasticsearch-logging
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
kubernetes.io/name: "Elasticsearch"
spec:
ports:
- port: 9200
protocol: TCP
targetPort: db
2018-04-01 12:50:01 +08:00
clusterIP: None
2018-03-13 18:17:48 +08:00
selector:
k8s-app: elasticsearch-logging