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

Merge pull request #692 from bogdando/gce_fixes

Change GCE sysctls placement and docs
parents 45ed6de3 f0f2b812
Branches
Tags
No related merge requests found
...@@ -71,3 +71,8 @@ you'll need to edit the inventory and add a and a hostvar `local_as` by node. ...@@ -71,3 +71,8 @@ you'll need to edit the inventory and add a and a hostvar `local_as` by node.
``` ```
node1 ansible_ssh_host=95.54.0.12 local_as=xxxxxx node1 ansible_ssh_host=95.54.0.12 local_as=xxxxxx
``` ```
Cloud providers configuration
=============================
Please refer to the official documentation, for example [GCE configuration](http://docs.projectcalico.org/v1.5/getting-started/docker/installation/gce) requires a security rule for calico ip-ip tunnels. Note, calico is always configured with ``ipip: true`` if the cloud provider was defined.
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
- name: Fix ipv4 forward rule in GCE security policy - name: Fix ipv4 forward rule in GCE security policy
lineinfile: lineinfile:
dest: /etc/sysctl.d/11-gce-network-security.conf dest: /etc/sysctl.d/99-sysctl.conf
regexp: '^net.ipv4.ip_forward=' regexp: '^net.ipv4.ip_forward='
line: 'net.ipv4.ip_forward=1' line: 'net.ipv4.ip_forward=1'
state: present state: present
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment