I also want to see the logs of kube-scheduler go files. I tried different methods like
All of these do not work. Please let me know if you guys found the way to log them out.
This file is managed by Kubernetes and is usually restricted to the last 10MB of logs. You can see the logs of a particular container by running the command kubectl logs <container name> . Here's an example for Nginx logs generated in a container.
Once you've configured your Kubernetes audit policy, use the --audit-policy-file flag to point to the file, and the --audit-log-path to specify the path to the file where the API server should output audit logs. If you don't specify a path, the API server will output logs to stdout .
Synopsis. The Kubernetes scheduler is a control plane process which assigns Pods to Nodes. The scheduler determines which Nodes are valid placements for each Pod in the scheduling queue according to constraints and available resources. The scheduler then ranks each valid Node and binds the Pod to a suitable Node.
Check this on Master /var/log/kube-scheduler.log
see also: https://kubernetes.io/docs/tasks/debug-application-cluster/debug-cluster/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With