k8s service nodeport

#nodeport

---
kind: Service
apiVersion: v1
metadata:
  name: ner-rpc
  namespace: zzyy
spec:
  type: NodePort
  ports:
  - protocol: TCP
    port: 9400
    targetPort: 9400
    nodePort: 9400
  selector:
    nlp: zzyy.Deployment.ner_rpc
#后面详细介绍

猜你喜欢

转载自blog.csdn.net/doctorone/article/details/88948762