Cluster autoscaler doesn't respect ignoreDifferences field in gitops application config in RHOCP 4
Issue
-
The
ignoreDifferences
configuration is not being honored for theMachineSet
kind. -
The behavior is inconsistent because the same
ignoreDifferences
configuration works as
expected for upstreamDeployment
resources. -
Example configuration that works for
Deployment.apps
:ignoreDifferences: - group: apps kind: Deployment jsonPointers: - /spec/replicas
Similar configuration fails for
MachineSet.machine.openshift.io
:ignoreDifferences: - group: machine.openshift.io kind: MachineSet jsonPointers: - /spec/replicas
-
The drift gets continuously detected even when only
replica count
orauto-managed
fields
change, which should be ignored as per the above configuration.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.