mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 12:18:16 +00:00 
			
		
		
		
	Collect kern.log from node for debugging.
This commit is contained in:
		@@ -62,6 +62,7 @@ func CoreDump(dir string) {
 | 
			
		||||
		cmds = append(cmds, []command{
 | 
			
		||||
			{"cat /var/log/kubelet.log", "kubelet"},
 | 
			
		||||
			{"cat /var/log/supervisor/supervisord.log", "supervisord"},
 | 
			
		||||
			{"cat /var/log/kern.log", "kern.log"},
 | 
			
		||||
		}...)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
@@ -87,7 +88,7 @@ func CoreDump(dir string) {
 | 
			
		||||
		cmds = append(cmds, []command{
 | 
			
		||||
			{"cat /var/log/kubelet.log", "kubelet"},
 | 
			
		||||
			{"cat /var/log/supervisor/supervisord.log", "supervisord"},
 | 
			
		||||
			{"cat /var/log/dmesg", "dmesg"},
 | 
			
		||||
			{"cat /var/log/kern.log", "kern.log"},
 | 
			
		||||
		}...)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user