apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: nextcloud
name: nextcloud
namespace: nextcloud
spec:
ports:
- name: http
port: 80
targetPort: http
selector:
type: LoadBalancer