17 lines
237 B
YAML
17 lines
237 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: postfix
|
|
labels:
|
|
app: postfix
|
|
spec:
|
|
selector:
|
|
app: postfix
|
|
tier: smtp
|
|
type: LoadBalancer
|
|
ports:
|
|
- nodePort: 30025
|
|
port: 25
|
|
targetPort: 25
|
|
name: postfix-smtp
|