How to prevent pipeline to override my autoscaling config

Hi guys.

I’m learning about pipelines in Rancher 2, and I figured out that I can apply a k8s yaml. Ok, that is nice!

So, how can I prevent Rancher to not override my actual auto-scaling policy like:

Actual pods: 17
Yaml replica count: 5

Why?

Imagine that my default config is ‘5’ replica but at BlackFriday I needed 17 intances and I had to deploy a bugfix and didn’t change my ‘yaml replica count’ config.

My 17 instances are running because of CPU use. Do I have to be alert about this or Rancher handle this for me?