Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: TidbClusterAutoScaler 是怎么做到不间断一直监听资源负载并做到自动扩缩的?

After reviewing the operator code, I didn’t see any logic for repeated coordination. That is, after executing kubectl apply autoscale.yaml
, if there are further CPU changes, it will not automatically adjust.
I guess the usage is: write a crontab to periodically execute kubectl apply
.
Is that correct?