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/16 16:28:08 UTC

[GitHub] [rocketmq-operator] chaoyoung opened a new issue, #145: Cannot access name-service by kubernetes Service

chaoyoung opened a new issue, #145:
URL: https://github.com/apache/rocketmq-operator/issues/145

   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
   ```
   


-- 
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.apache.org

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


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

Posted by GitBox <gi...@apache.org>.
caigy commented on issue #145:
URL: https://github.com/apache/rocketmq-operator/issues/145#issuecomment-1334991359

   @chaoyoung It seems that `rocketmq-console.rocketmq.svc.cluster.local` is domain of rocketmq-console, which has nothing to do with access to name server. 


-- 
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


[GitHub] [rocketmq-operator] caigy closed issue #145: Cannot access name-service by kubernetes Service

Posted by "caigy (via GitHub)" <gi...@apache.org>.
caigy closed issue #145: Cannot access name-service by kubernetes Service
URL: https://github.com/apache/rocketmq-operator/issues/145


-- 
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


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

Posted by GitBox <gi...@apache.org>.
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


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

Posted by GitBox <gi...@apache.org>.
caigy commented on issue #145:
URL: https://github.com/apache/rocketmq-operator/issues/145#issuecomment-1334993813

   @xinggengchang name server does NOT process HTTP and it does NOT response HTTP code like 4xx, 5xx.


-- 
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