You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/11/21 09:19:44 UTC

[GitHub] [rocketmq-operator] xinggengchang commented on issue #145: Cannot access name-service by kubernetes Service

xinggengchang commented on issue #145:
URL: https://github.com/apache/rocketmq-operator/issues/145#issuecomment-1321744499

   > After setting the network of name-server to non-host mode, the name-service cannot be accessed by adding Service,the address `rocketmq-console.rocketmq.svc.cluster.local` can be pinged, but telnet fails, prompt Connection refused.
   > 
   > ```yaml
   > apiVersion: v1
   > kind: Service
   > metadata:
   >   name: name-service
   >   namespace: rocketmq
   >   labels:
   >     app: name-service
   > spec:
   >   type: ClusterIP
   >   selector:
   >     app: name-service
   >   ports:
   >   - name: main
   >     port: 80
   >     protocol: TCP
   >     targetPort: 9876
   > ```
   
   我也用ingress暴露了nameservice,客户端报send request to <ip:30080> failed 错,抓包看状态码返回的事400。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org