Home > Blockchain >  kubernetes: How to reduce log level in scheduler
kubernetes: How to reduce log level in scheduler

Time:10-27

The size of log generated by k8s scheduler is so big.

How i can change log level(info, debug, warn) of scheduler in k8s cluster already established ?.

CodePudding user response:

Open /etc/kubernetes/manifests/kube-scheduler.yaml on your master node; modify --v=<0-9> (smaller number to reduce verbose). If you are using cloud provided K8s, you need to check their document if they allow you to configure the verbose level.

CodePudding user response:

Edit the log level option

--v=2

in the unit file, or the environment file. Then restart the scheduler

  • Related