Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-2305

Listeners - Kubernetes validation of ports

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.6.0.GA
    • None
    • None
    • None

      Currently we  have our regex which checks `^[a-z0-9]{1,25}$`. Anyway if we create generic listener which will have more than 11 chars the Kubernetes will do not accept this name because of internal validation of name ports

      ```
      Pod "my-cluster-kafka-0" is invalid: [spec.containers[0].ports[1].name: Invalid value: "tcp-rwfzfnconlsffwttambp": must be no more than 15 characters, spec.containers[0].ports[2].name: Invalid value: "tcp-gfyidpdeahyancys": must be no more than 15 characters, spec.containers[0].ports[3].name: Invalid value: "tcp-mccfzbfzbwsalpitwwtflx": must be no more than 15 characters]
      ```

      This problem causing that Kafka pods never deploy until timeout.
       

       

              Unassigned Unassigned
              morsak Maros Orsak
              Lukas Kral Lukas Kral
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: