webserver-k8s/kustomize/roundcube-svc.yaml

16 lines
237 B
YAML

apiVersion: v1
kind: Service
metadata:
name: roundcube
labels:
app: roundcube
spec:
selector:
app: roundcube
tier: frontend
type: NodePort
ports:
- nodePort: 30180
port: 80
protocol: TCP
targetPort: 80