k8s_deploy

This commit is contained in:
wangchuxiao 2022-05-20 10:32:51 +08:00
parent a2cdf6559d
commit 1186f2fb14

View File

@ -34,9 +34,9 @@ kind: Service
metadata: metadata:
name: api name: api
spec: spec:
externalTrafficPolicy: Cluster
ports: ports:
- protocol: TCP - name: api
protocol: TCP
port: 10002 port: 10002
targetPort: 10002 targetPort: 10002
selector: selector: