apiVersion: v1
kind: Service
metadata:
  name: java-debug-mode-service-patch
spec:
  ports:
    - name: 5005-tcp
      port: 5005
      targetPort: 5005
    - name: 1099-tcp
      port: 1099
      targetPort: 1099