apiVersion: v1 kind: Service metadata: name: nextcloud-service spec: ports: - name: http port: 80 targetPort: http selector: app: nextcloud-app