You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
576 B
27 lines
576 B
3 months ago
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: elasticsearch-logging
|
||
|
namespace: logging
|
||
|
labels:
|
||
|
k8s-app: elasticsearch-logging
|
||
|
kubernetes.io/cluster-service: "true"
|
||
|
addonmanager.kubernetes.io/mode: Reconcile
|
||
|
kubernetes.io/name: "Elasticsearch"
|
||
|
spec:
|
||
|
clusterIP: None
|
||
|
ports:
|
||
|
- name: db
|
||
|
port: 9200
|
||
|
protocol: TCP
|
||
|
targetPort: 9200
|
||
|
- name: transport
|
||
|
port: 9300
|
||
|
protocol: TCP
|
||
|
targetPort: 9300
|
||
|
publishNotReadyAddresses: true
|
||
|
selector:
|
||
|
k8s-app: elasticsearch-logging
|
||
|
sessionAffinity: None
|
||
|
type: ClusterIP
|