RockteMQ-AI commented on issue #189: URL: https://github.com/apache/rocketmq-operator/issues/189#issuecomment-5192848247
**Issue Evaluation** Category: `bug` | Status: **Confirmed** When the operator generates the `postStart` lifecycle command with concatenated `topics.json` and `subscriptionGroup.json` content, the command can exceed Kubernetes's argument length limit (typically ~128KB for exec). This causes the StatefulSet pod to fail on scale-up. **Suggested Fix:** Instead of passing the full JSON content as a command argument, write the data to a file via a ConfigMap or init container, and have the `postStart` hook read from the file. --- *Automated evaluation by RockteMQ-AI* -- 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]
