kubernetes-x/es-yaml/elasticsearch-svc.yaml

19 lines
301 B
YAML
Raw Normal View History

2024-04-07 00:13:17 +08:00
kind: Service
apiVersion: v1
metadata:
name: elasticsearch
namespace: logging
labels:
app: elasticsearch
spec:
selector:
app: elasticsearch
type: NodePort
ports:
- port: 9200
targetPort: 9200
nodePort: 30010
name: rest
- port: 9300
name: inter-node