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.
26 lines
475 B
26 lines
475 B
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
app: ms-protocol-xingxing
|
|
name: ms-protocol-xingxing
|
|
namespace: yibin-charge
|
|
spec:
|
|
ports:
|
|
- name: http
|
|
port: 7029
|
|
protocol: TCP
|
|
targetPort: 7029
|
|
nodePort: 30729
|
|
- name: port1
|
|
port: 7060
|
|
protocol: TCP
|
|
targetPort: 7060
|
|
nodePort: 30760
|
|
selector:
|
|
app: ms-protocol-xingxing
|
|
tier: backend
|
|
sessionAffinity: None
|
|
type: NodePort
|
|
|