webserver-k8s/kustomize/roundcube-svc.yaml

20 lines
300 B
YAML
Raw 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:02:29 +02:00
targetPort: 80
status:
loadBalancer:
ingress:
- ip: 192.0.2.127