apiVersion: v1
kind: Service
metadata:
  name: podinfo
  namespace: dev
  labels:
    app: podinfo
spec:
  type: ClusterIP
  selector:
    app: podinfo
  ports:
    - name: http
      port: 9898
      protocol: TCP
      targetPort: http
    - port: 9999
      targetPort: grpc
      protocol: TCP
      name: grpc
    - port: 9797
      protocol: TCP
      name: http-metrics
      targetPort: http-metrics