apiVersion: v1
kind: Service
metadata:
  name: discord-bot
  namespace: josie-health
  labels:
    app: discord-bot
    app.kubernetes.io/part-of: josiedothealth
spec:
  type: ClusterIP
  ports:
  - port: 8080
    targetPort: 8080
    protocol: TCP
  selector:
    app: discord-bot
---
apiVersion: v1
kind: Service
metadata:
  name: logs-api
  namespace: josie-health
  labels:
    app: logs-api
    app.kubernetes.io/part-of: josiedothealth
spec:
  type: ClusterIP
  ports:
  - port: 3001
    targetPort: 3001
    protocol: TCP
  selector:
    app: logs-api
---
apiVersion: v1
kind: Service
metadata:
  name: heartbeat
  namespace: josie-health
  labels:
    app: heartbeat
    app.kubernetes.io/part-of: josiedothealth
spec:
  type: ClusterIP
  ports:
  - name: http
    port: 8080
    targetPort: 8080
    protocol: TCP
  selector:
    app: heartbeat
---
apiVersion: v1
kind: Service
metadata:
  name: redis
  namespace: josie-health
  labels:
    app: redis
    app.kubernetes.io/part-of: josiedothealth
spec:
  type: ClusterIP
  ports:
  - port: 6379
    targetPort: 6379
    protocol: TCP
  selector:
    app: redis
