apiVersion: v1
kind: Service
metadata:
  labels:
    app: pbw-liberty-derby-demo
  name: pbw-liberty-derby-demo
  namespace: liberty-demo-pbw-custom-deploy
spec:
  ports:
  - name: 9080-tcp
    port: 9080
    protocol: TCP
    targetPort: 9080
  - name: 9443-tcp
    port: 9443
    protocol: TCP
    targetPort: 9443
  selector:
    app: pbw-liberty-derby-demo
    deploymentconfig: pbw-liberty-derby-demo
  sessionAffinity: None
  type: ClusterIP

