Skip to content

ability to disable metrics server deployment#819

Open
zroubalik wants to merge 1 commit intokedacore:mainfrom
zroubalik:dms
Open

ability to disable metrics server deployment#819
zroubalik wants to merge 1 commit intokedacore:mainfrom
zroubalik:dms

Conversation

@zroubalik
Copy link
Member

Ability to not install Metrics Server - for example for users that want to use only ScaledJobs and are not insterested in ScaledObjects scaling.

Checklist

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a Helm value to optionally disable deploying KEDA’s metrics server (and related external metrics API resources), intended for users who only need ScaledJobs.

Changes:

  • Introduces metricsServer.enabled (default true) in chart values and documents it in the README.
  • Wraps all metrics-server related templates (APIService, Deployment, Service, RBAC, monitors, network policies, PDB) with metricsServer.enabled.
  • Adds/updates vendored packaged chart tarballs under kedify-agent/charts/.

Reviewed changes

Copilot reviewed 14 out of 18 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
keda/values.yaml Adds metricsServer.enabled value (default true).
keda/README.md Documents the new metricsServer.enabled setting.
keda/templates/metrics-server/apiservice.yaml Gates APIService creation on metricsServer.enabled.
keda/templates/metrics-server/deployment.yaml Gates metrics server Deployment on metricsServer.enabled.
keda/templates/metrics-server/service.yaml Gates metrics server Service on metricsServer.enabled.
keda/templates/metrics-server/serviceaccount.yaml Gates metrics server ServiceAccount on metricsServer.enabled.
keda/templates/metrics-server/clusterrole.yaml Gates metrics server ClusterRole on metricsServer.enabled.
keda/templates/metrics-server/clusterrolebinding.yaml Gates metrics server RBAC bindings on metricsServer.enabled.
keda/templates/metrics-server/networkpolicy.yaml Gates k8s NetworkPolicy on metricsServer.enabled.
keda/templates/metrics-server/ciliumnetworkpolicy.yaml Gates CiliumNetworkPolicy on metricsServer.enabled.
keda/templates/metrics-server/poddisruptionbudget.yaml Gates PDB on metricsServer.enabled.
keda/templates/metrics-server/podmonitor.yaml Gates PodMonitor on metricsServer.enabled.
keda/templates/metrics-server/servicemonitor.yaml Gates ServiceMonitor on metricsServer.enabled.
keda/templates/manager/deployment.yaml Adjusts operator arg --enable-cert-rotation to consider metrics server enabled.
kedify-agent/charts/kedify-predictor-v0.0.1.tgz Adds vendored packaged chart artifact.
kedify-agent/charts/keda-add-ons-http-v0.11.0-0.tgz Adds vendored packaged chart artifact.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@JorTurFer JorTurFer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that you have committed unexpected files xD

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants