# services/hermes/service.yaml
apiVersion: v1
kind: Service
metadata:
  name: hermes
  namespace: hermes
  labels:
    app: hermes
spec:
  type: ClusterIP
  selector:
    app: hermes
  ports:
    - name: api
      port: 8642
      targetPort: api
      protocol: TCP
    - name: dashboard
      port: 9119
      targetPort: dashboard
      protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
  name: hermes-ollama
  namespace: hermes
  labels:
    app: hermes-ollama
spec:
  type: ClusterIP
  selector:
    app: hermes-ollama
  ports:
    - name: http
      port: 11434
      targetPort: http
      protocol: TCP
