You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
583 B

apiVersion: v1
kind: Service
metadata:
labels:
app: ms-protocol-shenghong
name: ms-protocol-shenghong
namespace: yibin-charge
spec:
ports:
- name: http
port: 7019
protocol: TCP
targetPort: 7019
nodePort: 30719
- name: port1
port: 7040
protocol: TCP
targetPort: 7040
nodePort: 30740
- name: port2
port: 7041
protocol: TCP
targetPort: 7041
nodePort: 30741
selector:
app: ms-protocol-shenghong
tier: backend
sessionAffinity: None
type: NodePort