Skip to content
Snippets Groups Projects
Commit d4078302 authored by Bogdan Dobrelya's avatar Bogdan Dobrelya Committed by GitHub
Browse files

Merge pull request #680 from kubernetes-incubator/gce_ipv4_forward

Fix ipv4 forwarding on GCE
parents 26f93feb 7a3a473c
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,17 @@
- include: azure-credential-check.yml
when: cloud_provider is defined and cloud_provider == 'azure'
- name: Fix ipv4 forward rule in GCE security policy
lineinfile:
dest: /etc/sysctl.d/11-gce-network-security.conf
regexp: '^net.ipv4.ip_forward='
line: 'net.ipv4.ip_forward=1'
state: present
create: yes
backup: yes
validate: 'sysctl -f %s'
when: cloud_provider is defined and cloud_provider == 'gce'
- name: Create cni directories
file:
path: "{{ item }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment