mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 21:50:05 +00:00
Log main golang runtime env vars
This commit is contained in:
@@ -656,6 +656,8 @@ func (s *ProxyServer) Run() error {
|
||||
// To help debugging, immediately log version
|
||||
klog.InfoS("Version info", "version", version.Get())
|
||||
|
||||
klog.InfoS("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
|
||||
|
||||
// TODO(vmarmol): Use container config for this.
|
||||
var oomAdjuster *oom.OOMAdjuster
|
||||
if s.OOMScoreAdj != nil {
|
||||
|
Reference in New Issue
Block a user