apiVersion: v1 kind: Service metadata: name: nextcloud spec: selector: name: nextcloud ports: - protocol: TCP port: 50011 targetPort: 80 name: http