Trigger scaling of multiple Deployment with the same Kafka metrics #6006
-
Hi, here is my scaled object:
It scales the nginx-deployment deployment to replica 1 when there is a message on the kafka topic, it scale to zero when it is consumed by a consumer in the consumer group kafka-cli If i want to trigger the scaler to more than one Deployment with that metric, should i just create other scaled objects with different name, target deployment and same trigger? Or is there another best practice? Thanks for the replies Bye! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, you should just create other scaled objects with different name, with other |
Beta Was this translation helpful? Give feedback.
Yes, you should just create other scaled objects with different name, with other
scaleTargetRef
and you can use the same trigger