apiVersion: v1
kind: Service
metadata:
  name: mcserver--one-day-to-reset
  labels:
    app: mcserver
    role: metrics
    mcserver: one-day-to-reset
spec:
  type: ClusterIP
  ports:
    - name: minecraft
      port: 25565
      protocol: TCP
      targetPort: minecraft
    - name: jmx-metrics
      port: 18321
      protocol: TCP
      targetPort: jmx-metrics
  selector:
    mcserver: one-day-to-reset
