Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to specify custom arguments to Kubernetes binaries like kube-scheduler #17253

Open
bartpeeters opened this issue Feb 7, 2025 · 0 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@bartpeeters
Copy link

/kind feature

We would like to use the -vmodule argument of the kube-scheduler, so we can set the log level for the schedule_one.go module to 10, so that it will log scores when scheduling pods in our Kubernetes cluster.

Currently, you can only specify logLevel in the cluster spec for kubeScheduler:

kind: Cluster
spec:
  kubeScheduler:
    logLevel: 10

This logLevel is then transformed to the --v 10 argument in the kube-scheduler pod manifest.

But this is the log level of all components within kube-scheduler, so setting this to 10, results in a lot of logs, most of which we are not interested in.

It would be nice if you could specify extra arguments to the kube-scheduler and maybe other components like kube-controller-manager, kubelet, ...
Which would allow us to set the --vmodule argument, example:

kind: Cluster
spec:
  kubeScheduler:
    args:
    - "--vmodule schedule_one*=10,scheduler*=3"

@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants