apiVersion: v1
    kind: Service
    metadata:
    creationTimestamp: ‘2020-11-11T09:08:09Z’
    labels:
    app: logs
    name: elasticsearch
    namespace: logging
    resourceVersion: ‘1660035007’
    selfLink: /api/v1/namespaces/logging/services/elasticsearch
    uid: 50848069-11f2-448a-a6e8-80c43964e344
    spec:
    clusterIP: None
    ports:
    - name: rest
    port: 9200
    protocol: TCP
    targetPort: 9200
    - name: inter
    port: 9300
    protocol: TCP
    targetPort: 9300
    selector:
    app: elasticsearch
    sessionAffinity: None
    type: ClusterIP
    status:
    loadBalancer: {}