add service into intranet
This commit is contained in:
14
deploy.yml
14
deploy.yml
@@ -39,4 +39,18 @@ spec:
|
||||
protocol: TCP
|
||||
port: 25
|
||||
targetPort: 25
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: smtp-local
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app: smtp
|
||||
ports:
|
||||
- name: smtp
|
||||
protocol: TCP
|
||||
port: 25
|
||||
targetPort: 25
|
||||
|
||||
|
||||
Reference in New Issue
Block a user