---
apiVersion: v1
kind: Service
metadata:
  name: demo-svc
  namespace: demo-project
  labels:
    app: demo
spec:
  ports:
    - name: http
      port: 8080
      protocol: TCP
      targetPort: 80
  selector:
    app: demo
  sessionAffinity: None
  type: ClusterIP
...