---
apiVersion: v1
kind: Service
metadata:
  name: seafile
spec:
  type: ClusterIP
  ports:
    - protocol: TCP
      port: 8080
      targetPort: http
      name: http
    - protocol: TCP
      port: 8000
      targetPort: seahub
      name: seahub
    - protocol: TCP
      port: 8082
      targetPort: seafile
      name: seafile
  selector:
    seafile: seafile
