apiVersion: v1
kind: Service
metadata:
  name: user-java-service
  namespace: api
  labels:
    app: user-java
spec:
  selector:
    app: user-java
  ports:
  - port: 80
    targetPort: 80
    protocol: TCP
  type: ClusterIP