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/02/02 04:35:33 UTC

[GitHub] [pulsar] Jennifer88huang opened a new issue #9418: Disconnection of Pulsar name verification and Kubernetes name verification

Jennifer88huang opened a new issue #9418:
URL: https://github.com/apache/pulsar/issues/9418


   **Describe the bug**
   I have a question about permitted characters for pulsar object names -- in particular namespaces, functions, and topics.
   Currently, it's valid to (via pulsar-admin and the admin rest api) specify names that include the colon ':' character. For example, I can create a namespace via pulsar-admin and the rest api as something like 'my:example:namespace'. We've found this useful for purposes of adding structure to object names that is then easier to programmatically parse.
   
   Will Pulsar continue to support ':' as a legal character for names? We've recently discovered that the KubernetesRuntime, in setting pod labels, seems to assume that the namespace and function names do NOT include characters like ':' that Kubernetes will reject.
   
   For further details, refer to https://apache-pulsar.slack.com/archives/C5ZSVEN4E/p1611864852028300
   Question from @C S Thomas


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

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



[GitHub] [pulsar] Jennifer88huang commented on issue #9418: Disconnection of Pulsar name verification and Kubernetes name verification

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






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

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



[GitHub] [pulsar] Jennifer88huang commented on issue #9418: Disconnection of Pulsar name verification and Kubernetes name verification

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


   Shall we add a note in Pulsar doc and ask users to follow Kubernetes’ naming convention to define their pulsar resource name? Or would it be a valid solution to submit a patch to the KubernetesRuntime that would translate the pulsar names to characters that are compatible with [RFC1123](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names)? There's already similar logic for computing the job/pod name, for populating the labels in the kubernetes resources.


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

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



[GitHub] [pulsar] Jennifer88huang closed issue #9418: Disconnection of Pulsar name verification and Kubernetes name verification

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


   


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

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



[GitHub] [pulsar] Jennifer88huang commented on issue #9418: Disconnection of Pulsar name verification and Kubernetes name verification

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


   @Anonymitaet I'll take this issue this week.


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

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