apiVersion: v1
kind: Service
metadata:
  name: youtube-dl
spec:
  type: ClusterIP
  ports:
  - port: 80
    targetPort: 8000
    protocol: TCP
    name: http
  - port: 873
    targetPort: 873
    protocol: TCP
    name: rsync
  selector:
    app.kubernetes.io/name: youtube-dl
    app.kubernetes.io/part-of: youtube-dl
