apiVersion: v1
kind: Service
metadata:
annotations: {}
labels:
k8s.kuboard.cn/layer: web
k8s.kuboard.cn/name: test
name: test
namespace: test
spec:
externalTrafficPolicy: Cluster
ports:
- name: port
nodePort: 8081
port: 8081
protocol: TCP
targetPort: 8081
- name: '111'
nodePort: 11511
port: 11511
protocol: TCP
targetPort: 11511
- name: '222'
nodePort: 11611
port: 11611
protocol: TCP
targetPort: 11611
- name: '333'
nodePort: 11911
port: 11911
protocol: TCP
targetPort: 11911
- name: ktx5jg
nodePort: 8080
port: 8080
protocol: TCP
targetPort: 8080
- name: jacoco
nodePort: 6300
port: 6300
protocol: TCP
targetPort: 6300
selector:
k8s.kuboard.cn/layer: web
k8s.kuboard.cn/name: test
sessionAffinity: ClientIP
sessionAffinityConfig:
clientIP:
timeoutSeconds: 10800
type: NodePort