k8s_deploy

This commit is contained in:
wangchuxiao 2022-05-20 10:19:00 +08:00
parent dbc7023c00
commit 9d6d74ce98

View File

@ -36,9 +36,10 @@ metadata:
spec:
externalTrafficPolicy: Cluster
ports:
port: 10002
protocol: TCP
targetPort: 10002
- name: apiPort
port: 10002
protocol: TCP
targetPort: 10002
selector:
app: api
type: NodePort