---
apiVersion: v1
kind: Service
metadata:
  name: server
  namespace: px-protocol-loadtest
spec:
  type: ClusterIP
  ports:
  - port: 8080
    protocol: TCP
    targetPort: 8080
    name: tcp-http
  - port: 8081
    protocol: TCP
    targetPort: 8081
    name: tcp-http-ssl
  - port: 9080
    protocol: TCP
    targetPort: 9080
    name: tcp-grpc
  - port: 9081
    protocol: TCP
    targetPort: 9081
    name: tcp-grpc-ssl
  selector:
    name: server
