mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-03 23:40:03 +00:00 
			
		
		
		
	Detect major version mismatches between kubeadm and kubelet.
Kubeadm supports only one minor release back, thus for 1.9 it requires minimum kubelet from 1.8. Fixes: kubernetes/kubeadm#430
This commit is contained in:
		@@ -211,6 +211,9 @@ var (
 | 
			
		||||
	// UseEnableBootstrapTokenAuthFlagVersion defines the first version where the API server supports the --enable-bootstrap-token-auth flag instead of the old and deprecated flag.
 | 
			
		||||
	// TODO: Remove this when the v1.9 cycle starts and we bump the minimum supported version to v1.8.0
 | 
			
		||||
	UseEnableBootstrapTokenAuthFlagVersion = version.MustParseSemantic("v1.8.0-beta.0")
 | 
			
		||||
 | 
			
		||||
	// MinimumKubeletVersion specifies the minimum version of kubelet which kubeadm supports
 | 
			
		||||
	MinimumKubeletVersion = version.MustParseSemantic("v1.8.0-beta.0")
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// GetStaticPodDirectory returns the location on the disk where the Static Pod should be present
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user