mirror of
				https://github.com/flatcar/scripts.git
				synced 2025-10-31 00:01:03 +01:00 
			
		
		
		
	In the past user had to customize Kubernetes or use a bind mount to make writing the default /usr/libexec/kubernetes/ path work. With systemd-sysext on by default the bind mount doesn't work anymore because it can get lost. A newer workaround is to use a systemd-sysext image that creates a symlink in /usr/libexec/... to redirect to somewhere under /var/. Instead of relying on workarounds, make Kubernetes work by default on Flatcar by having the symlink be part of the generic image. The target folder will be created through a tmpfiles rule.
		
			
				
	
	
	
		
			243 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			243 B
		
	
	
	
	
	
	
	
- To make Kubernetes work by default, /usr/libexec/kubernetes/kubelet-plugins/volume/execis now a symlink to the writable folder/var/kubernetes/kubelet-plugins/volume/exec(Flatcar#1193)