web-dev-service.yml 401 B

12345678910111213141516171819202122
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. labels:
  5. app-name: ai-web
  6. name: ai-web
  7. spec:
  8. ports:
  9. - name: ai-web-port
  10. nodePort: 32181
  11. port: 8181
  12. protocol: TCP
  13. targetPort: ai-web-port
  14. - name: ai-webs-port
  15. nodePort: 32443
  16. port: 443
  17. protocol: TCP
  18. targetPort: ai-webs-port
  19. selector:
  20. app-name: ai-web
  21. sessionAffinity: None
  22. type: NodePort