webserver-k8s/kustomize/roundcube-svc.yaml

16 lines
241 B
YAML
Raw Permalink Normal View History

2023-10-09 16:38:06 +02:00
apiVersion: v1
kind: Service
metadata:
name: roundcube
labels:
app: roundcube
spec:
selector:
app: roundcube
tier: frontend
2023-10-12 14:00:57 +02:00
type: LoadBalancer
2023-10-09 16:38:06 +02:00
ports:
2023-10-09 16:39:07 +02:00
- nodePort: 30180
2023-10-09 16:38:06 +02:00
port: 80
protocol: TCP
2023-10-12 14:16:50 +02:00
targetPort: 80