apiVersion: v1
kind: Service
metadata:
  name: logging
spec:
  selector:
    app: logging
  ports:
    - name: http
      protocol: TCP
      port: 80
    - name: udp
      protocol: UDP
      port: 6253