Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
d4078302
Commit
d4078302
authored
8 years ago
by
Bogdan Dobrelya
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/kubernetes/preinstall/tasks/main.yml
+11
-0
11 additions, 0 deletions
roles/kubernetes/preinstall/tasks/main.yml
with
11 additions
and
0 deletions
roles/kubernetes/preinstall/tasks/main.yml
+
11
−
0
View file @
d4078302
...
...
@@ -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
}}"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment