mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-10-31 05:40:42 +00:00 
			
		
		
		
	Remove the deprecated --babysit-daemons kubelet flag
This commit is contained in:
		| @@ -158,11 +158,6 @@ | ||||
|   {% set hairpin_mode = "--hairpin-mode=" + pillar['hairpin_mode'] -%} | ||||
| {% endif -%} | ||||
|  | ||||
| {% set babysit_daemons = "" -%} | ||||
| {% if grains['cloud'] is defined and grains.cloud in [ 'aws', 'gce' ]  %} | ||||
|   {% set babysit_daemons = "--babysit-daemons=true" -%} | ||||
| {% endif -%} | ||||
|  | ||||
| {% set kubelet_port = "" -%} | ||||
| {% if pillar['kubelet_port'] is defined -%} | ||||
|   {% set kubelet_port="--port=" + pillar['kubelet_port'] %} | ||||
| @@ -191,4 +186,4 @@ | ||||
| {% set kubelet_auth = "--anonymous-auth=false --authorization-mode=Webhook --client-ca-file=" + pillar.get('ca_cert_bundle_path', '/var/lib/kubelet/ca.crt') %} | ||||
|  | ||||
| # test_args has to be kept at the end, so they'll overwrite any prior configuration | ||||
| DAEMON_ARGS="{{daemon_args}} {{api_servers_with_port}} {{debugging_handlers}} {{hostname_override}} {{cloud_provider}} {{cloud_config}} {{config}} {{manifest_url}} --allow-privileged={{pillar['allow_privileged']}} {{log_level}} {{cluster_dns}} {{cluster_domain}} {{docker_root}} {{kubelet_root}}  {{non_masquerade_cidr}} {{cgroup_root}} {{system_container}} {{pod_cidr}} {{ master_kubelet_args }} {{cpu_cfs_quota}} {{network_plugin}} {{kubelet_port}} {{ hairpin_mode }} {{enable_custom_metrics}} {{runtime_container}} {{kubelet_container}} {{node_labels}} {{babysit_daemons}} {{eviction_hard}} {{kubelet_auth}} {{feature_gates}} {{test_args}}" | ||||
| DAEMON_ARGS="{{daemon_args}} {{api_servers_with_port}} {{debugging_handlers}} {{hostname_override}} {{cloud_provider}} {{cloud_config}} {{config}} {{manifest_url}} --allow-privileged={{pillar['allow_privileged']}} {{log_level}} {{cluster_dns}} {{cluster_domain}} {{docker_root}} {{kubelet_root}}  {{non_masquerade_cidr}} {{cgroup_root}} {{system_container}} {{pod_cidr}} {{ master_kubelet_args }} {{cpu_cfs_quota}} {{network_plugin}} {{kubelet_port}} {{ hairpin_mode }} {{enable_custom_metrics}} {{runtime_container}} {{kubelet_container}} {{node_labels}} {{eviction_hard}} {{kubelet_auth}} {{feature_gates}} {{test_args}}" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user