apiVersion: v1
kind: Service
metadata:
  name: fregservice-svc
  namespace: default
spec:
  ports:
  - name: http
    port: 5000
    protocol: TCP
    targetPort: 5000
  selector:
    app: fregservice
  sessionAffinity: None
  type: ClusterIP