shink opened a new issue, #3560:
URL: https://github.com/apache/incubator-inlong/issues/3560

   ### What happened
   
   The tubemq pod is invalid.
   
   zookeeper:
   
   ```
   Warning  FailedCreate  4m49s (x17 over 10m)  statefulset-controller  create 
Pod inlong-zookeeper-0 in StatefulSet inlong-zookeeper failed error: Pod 
"inlong-zookeeper-0" is invalid: [spec.containers[0].ports[0].name: Invalid 
value: "zookeeper-client-port": must be no more than 15 characters, 
spec.containers[0].ports[1].name: Invalid value: "zookeeper-follower-port": 
must be no more than 15 characters, spec.containers[0].ports[2].name: Invalid 
value: "zookeeper-leader-election-port": must be no more than 15 characters]
   ```
   
   tubemq master:
   
   ```
   Warning  FailedCreate  101s (x17 over 7m10s)  statefulset-controller  create 
Pod inlong-tubemq-master-0 in StatefulSet inlong-tubemq-master failed error: 
Pod "inlong-tubemq-master-0" is invalid: [spec.containers[0].ports[0].name: 
Invalid value: "tubemq-master-web-port": must be no more than 15 characters, 
spec.containers[0].ports[1].name: Invalid value: "tubemq-master-help-port": 
must be no more than 15 characters, spec.containers[0].ports[2].name: Invalid 
value: "tubemq-master-rpc-port": must be no more than 15 characters]
   ```
   
   tubemq broker:
   
   ```
   Warning  FailedCreate  5m8s (x17 over 10m)  statefulset-controller  create 
Pod inlong-tubemq-broker-0 in StatefulSet inlong-tubemq-broker failed error: 
Pod "inlong-tubemq-broker-0" is invalid: [spec.containers[0].ports[0].name: 
Invalid value: "tubemq-broker-web-port": must be no more than 15 characters, 
spec.containers[0].ports[1].name: Invalid value: "tubemq-broker-rpc-port": must 
be no more than 15 characters]
   ```
   
   tubemq manager:
   
   ```
   Warning  FailedCreate  5m22s (x17 over 10m)  statefulset-controller  create 
Pod inlong-tubemq-manager-0 in StatefulSet inlong-tubemq-manager failed error: 
Pod "inlong-tubemq-manager-0" is invalid: spec.containers[0].ports[0].name: 
Invalid value: "tubemq-manager-port": must be no more than 15 characters
   ```
   
   The reason is that the port name should be no more than 15 characters.
   
   
   ### What you expected to happen
   
   The pods can be started correctly.
   
   ### How to reproduce
   
   ```bash
   kubectl create namespace inlong
   helm upgrade inlong --install -n inlong ./
   ```
   
   ### Environment
   
   _No response_
   
   ### InLong version
   
   master
   
   ### InLong Component
   
   InLong TubeMQ
   
   ### Are you willing to submit PR?
   
   - [X] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to