# CF Fighting with KEDA Horizontal Pod Autoscaler

**URL:** <https://community.codefresh.io/t/cf-fighting-with-keda-horizontal-pod-autoscaler/879>\
**Category:** GitOps and Argo\
**Created:** [February 17, 2023, 4:46am UTC](https://community.codefresh.io/t/cf-fighting-with-keda-horizontal-pod-autoscaler/879 "2023-02-17T04:46:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthew\_J](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/matthew_j/32/575_2.png) [@Matthew\_J](https://community.codefresh.io/u/Matthew_J)\
**Post date:** [February 17, 2023, 4:46am UTC](https://community.codefresh.io/t/cf-fighting-with-keda-horizontal-pod-autoscaler/879/1 "2023-02-17T04:46:44Z")

</div>

Currently I have a replica set attached to a Keda scaler, and it is supposed to be scaling down from 6 replicas to 1, but CF is attempting to enforce the 6 replicas it thinks should exist, (Looking at the replicaset live manifest, yet I don’t have a replicacount defined anywhere in my yaml…). Very confused here as It should just hand over control to keda, but its not…

---

<div class="post-metadata">

**Author:** ![Kostis](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/kostis/32/391_2.png) [@Kostis](https://community.codefresh.io/u/Kostis)\
**Post date:** [February 17, 2023, 7:22am UTC](https://community.codefresh.io/t/cf-fighting-with-keda-horizontal-pod-autoscaler/879/2 "2023-02-17T07:22:49Z")

</div>

Hello

You didn’t specify which module of Codefresh you are using but I assume it is the GitOps one? If yes, then have you seen diffing customization? [Diffing Customization - Argo CD - Declarative GitOps CD for Kubernetes](https://argo-cd.readthedocs.io/en/stable/user-guide/diffing/)

Alternatively you should open an issue with our support team so that they can investigate
