apiVersion: v1
kind: Service
metadata:
  annotations:
    description: Exposes and load balances the application pods
  name: ticket-search
  labels:
    app: ticket-search
    app.kubernetes.io/name: ticket-search
    app.kubernetes.io/component: backend
    app.kubernetes.io/instance: ticket-search
    app.kubernetes.io/part-of: traffic-court
spec:
  ports:
    - name: web
      protocol: TCP
      port: 80
      targetPort: 8080
  selector:
    name: ticket-search
  sessionAffinity: None
  type: ClusterIP
