You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/09/03 03:39:13 UTC

[GitHub] [pulsar] chlyzzo opened a new issue #11909: use helm install pulsar on k8s, how change the nodeport, then can connect from machine b.

chlyzzo opened a new issue #11909:
URL: https://github.com/apache/pulsar/issues/11909


   # What issue do you find in Pulsar docs?
   
   from https://pulsar.apache.org/docs/zh-CN/kubernetes-helm/, use helm install pulsar on k8s, and get the services:
   <img width="940" alt="4cf889ef3460d385c500643d661d49c1" src="https://user-images.githubusercontent.com/19646469/131946830-a147ca66-5abe-4526-97ef-190e83107a9c.png">
   
   but the service, like pulsar-spatio-pulsar-manager, the port 31335 is random change, when uninstall then install again,
   pulsar-spatio-pulsar-manager   NodePort       10.233.46.47    <none>        9527:31335/TCP                8s
   
   because my k8s only 8*** port can connect from other machine, so how can i define the port, for example, define :
    pulsar-spatio-pulsar-manager   NodePort       10.233.46.47    <none>        9527:8527/TCP                8s
   
   # What is your suggestion?
   
   (For example, add explanations about xx, correct descriptions of xx, delete information about xx, etc)
   
   # Do you have any references?
   
   (For example, website links, etc)?
   
   # Would you like to fix this issue?
   
   (Welcome to contribute docs! Pulsar grows from a tiny seed to a big tree with every little effort by us! Your contribution is the sunlight, water, and air!)


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

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



[GitHub] [pulsar] michaeljmarshall commented on issue #11909: use helm install pulsar on k8s, how change the nodeport, then can connect from machine b.

Posted by GitBox <gi...@apache.org>.
michaeljmarshall commented on issue #11909:
URL: https://github.com/apache/pulsar/issues/11909#issuecomment-917219256


   @chlyzzo - Node ports are random if they are not declared in the yaml. The current helm chart does not allow for setting the node port for the pulsar manager. Are you trying to connect to it from inside the k8s cluster or from outside the cluster? Also, it looks like you want the port to be 4 digits. This is not possible in k8s, as node ports range from 30000 to 32767. https://kubernetes.io/docs/concepts/services-networking/service/#nodeport


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

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



[GitHub] [pulsar] lhotari closed issue #11909: use helm install pulsar on k8s, how change the nodeport, then can connect from machine b.

Posted by GitBox <gi...@apache.org>.
lhotari closed issue #11909:
URL: https://github.com/apache/pulsar/issues/11909


   


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

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



[GitHub] [pulsar] lhotari commented on issue #11909: use helm install pulsar on k8s, how change the nodeport, then can connect from machine b.

Posted by GitBox <gi...@apache.org>.
lhotari commented on issue #11909:
URL: https://github.com/apache/pulsar/issues/11909#issuecomment-919710342


   @michaeljmarshall provided an answer to the problem as a resolution to this issue. Closing this.


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

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



[GitHub] [pulsar] chlyzzo closed issue #11909: use helm install pulsar on k8s, how change the nodeport, then can connect from machine b.

Posted by GitBox <gi...@apache.org>.
chlyzzo closed issue #11909:
URL: https://github.com/apache/pulsar/issues/11909


   


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

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