You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "hardme (via GitHub)" <gi...@apache.org> on 2023/10/24 10:01:25 UTC

[I] operator扩容 生成的sts 的postStart 的cmd过长导致扩容失败 [rocketmq-operator]

hardme opened a new issue, #189:
URL: https://github.com/apache/rocketmq-operator/issues/189

   operator 在扩容时,当当前cluster的 topics.json和subscriptionGroup.json 拼成的cmd超出k8s限制,导致扩容失败


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

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


Re: [I] operator扩容 生成的sts 的postStart 的cmd过长导致扩容失败 [rocketmq-operator]

Posted by "caigy (via GitHub)" <gi...@apache.org>.
caigy commented on issue #189:
URL: https://github.com/apache/rocketmq-operator/issues/189#issuecomment-1867275628

   Could you provide the detailed error message or the final command?


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

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


Re: [I] operator扩容 生成的sts 的postStart 的cmd过长导致扩容失败 [rocketmq-operator]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
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: commits-unsubscribe@rocketmq.apache.org

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