Add runtime cgroup and fix a cli panic.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
		 Lantao Liu
					Lantao Liu
				
			
				
					committed by
					
						 Derek McGowan
						Derek McGowan
					
				
			
			
				
	
			
			
			 Derek McGowan
						Derek McGowan
					
				
			
						parent
						
							680e21c430
						
					
				
				
					commit
					be72f47ec9
				
			| @@ -31,6 +31,9 @@ write_files: | ||||
|       # installed by cloud-init | ||||
|       oom_score = -999 | ||||
|  | ||||
|       [cgroup] | ||||
|         path = "/runtime" | ||||
|  | ||||
|       [plugins.linux] | ||||
|         shim = "/home/cri-containerd/usr/local/bin/containerd-shim" | ||||
|         runtime = "/home/cri-containerd/usr/local/sbin/runc" | ||||
| @@ -84,7 +87,8 @@ write_files: | ||||
|       ExecStart=/home/cri-containerd/usr/local/bin/cri-containerd \ | ||||
|         --log-level=debug \ | ||||
|         --network-bin-dir=/home/cri-containerd/opt/cni/bin \ | ||||
|         --network-conf-dir=/home/cri-containerd/etc/cni/net.d | ||||
|         --network-conf-dir=/home/cri-containerd/etc/cni/net.d \ | ||||
|         --cgroup-path=/runtime | ||||
|  | ||||
|       [Install] | ||||
|       WantedBy=cri-containerd.target | ||||
|   | ||||
| @@ -34,6 +34,9 @@ write_files: | ||||
|       # installed by cloud-init | ||||
|       oom_score = -999 | ||||
|  | ||||
|       [cgroup] | ||||
|         path = "/runtime" | ||||
|  | ||||
|       [plugins.linux] | ||||
|         shim = "/home/cri-containerd/usr/local/bin/containerd-shim" | ||||
|         runtime = "/home/cri-containerd/usr/local/sbin/runc" | ||||
| @@ -87,7 +90,8 @@ write_files: | ||||
|       ExecStart=/home/cri-containerd/usr/local/bin/cri-containerd \ | ||||
|         --log-level=debug \ | ||||
|         --network-bin-dir=/home/kubernetes/bin \ | ||||
|         --network-conf-dir=/etc/cni/net.d | ||||
|         --network-conf-dir=/etc/cni/net.d \ | ||||
|         --cgroup-path=/runtime | ||||
|  | ||||
|       [Install] | ||||
|       WantedBy=cri-containerd.target | ||||
|   | ||||
		Reference in New Issue
	
	Block a user