mirror of
				https://github.com/geerlingguy/ansible-role-kubernetes.git
				synced 2025-10-24 11:16:22 +02:00 
			
		
		
		
	Set kernel parameters for forwarding
This commit is contained in:
		
							parent
							
								
									fac7b631df
								
							
						
					
					
						commit
						8325de59af
					
				| @ -7,6 +7,15 @@ | ||||
|     ansible_distribution != 'Debian' | ||||
|     or ansible_distribution_major_version | int < 10 | ||||
| 
 | ||||
| - name: Activate forwarding | ||||
|   sysctl: | ||||
|     name: "{{ item }}" | ||||
|     value: '1' | ||||
|     state: present | ||||
|   loop: | ||||
|     - net.ipv4.ip_forward | ||||
|     - net.ipv6.conf.all.forwarding | ||||
| 
 | ||||
| # See: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#letting-iptables-see-bridged-traffic | ||||
| - name: Let iptables see bridged traffic. | ||||
|   sysctl: | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user