apiVersion: v1
kind: Service
metadata:
  name: graylog-app
  namespace: graylog
  labels:
    app.kubernetes.io/name: graylog
spec:
  type: ClusterIP
  ports:
    - name: graylog
      port: 8989
      protocol: TCP
      targetPort: 8989
  selector:
    app.kubernetes.io/name: graylog