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
bdc65990
Commit
bdc65990
authored
8 years ago
by
Matthew Mosesohn
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #958 from holser/fix_weave_cpu
Fix CPU out of scope for Weave-net
parents
ae66b6e6
f2e4ffca
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/kubernetes-apps/network_plugin/weave/tasks/main.yml
+5
-5
5 additions, 5 deletions
roles/kubernetes-apps/network_plugin/weave/tasks/main.yml
roles/network_plugin/weave/defaults/main.yml
+2
-2
2 additions, 2 deletions
roles/network_plugin/weave/defaults/main.yml
with
7 additions
and
7 deletions
roles/kubernetes-apps/network_plugin/weave/tasks/main.yml
+
5
−
5
View file @
bdc65990
...
...
@@ -8,17 +8,17 @@
namespace
:
"
{{system_namespace}}"
state
:
"
{{
item
|
ternary('latest','present')
}}"
with_items
:
"
{{
weave_manifest.changed
}}"
delegate_to
:
"
{{groups['kube-master'][0]}}"
-
name
:
"
Weave
|
wait
for
weave
to
become
available"
uri
:
url
:
http://127.0.0.1:6784/status
return_content
:
yes
run_once
:
true
register
:
weave_status
retries
:
10
delay
:
"
{{
retry_stagger
|
random
+
3
}}"
until
:
weave_status.status ==
200
-
name
:
"
Weave
|
check
if
weave
is
ready"
fail
:
when
:
"
'Status:
ready'
not
in
weave_status.content"
until
:
"
{{
weave_status.status
==
200
and
'Status:
ready'
in
weave_status.content
}}"
delegate_to
:
"
{{groups['kube-master'][0]}}"
This diff is collapsed.
Click to expand it.
roles/network_plugin/weave/defaults/main.yml
+
2
−
2
View file @
bdc65990
---
# Limits
weave_memory_limit
:
500M
weave_cpu_limit
:
30
0
m
weave_cpu_limit
:
30m
weave_memory_requests
:
300M
weave_cpu_requests
:
20
0m
weave_cpu_requests
:
1
0m
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