webserver-k8s/kustomize/roundcube-svc.yaml

20 lines
300 B
YAML

apiVersion: v1
kind: Service
metadata:
name: roundcube
labels:
app: roundcube
spec:
selector:
app: roundcube
tier: frontend
type: LoadBalancer
ports:
- nodePort: 30180
port: 80
protocol: TCP
targetPort: 80
status:
loadBalancer:
ingress:
- ip: 192.0.2.127