apiVersion: v1
kind: Service
metadata:
  name: logger-service
spec:
  selector:
    app: logger-deployment
  ports:
    - protocol: TCP
      port: 80
      targetPort: 8081
      nodePort: 30000
  type: NodePort