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
15dc3868
Unverified
Commit
15dc3868
authored
4 years ago
by
Florian Ruynat
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update Weave to 2.8.0 (#7181)
parent
2525d7af
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
roles/download/defaults/main.yml
+1
-1
1 addition, 1 deletion
roles/download/defaults/main.yml
roles/network_plugin/weave/templates/weave-net.yml.j2
+25
-9
25 additions, 9 deletions
roles/network_plugin/weave/templates/weave-net.yml.j2
with
27 additions
and
11 deletions
README.md
+
1
−
1
View file @
15dc3868
...
...
@@ -131,7 +131,7 @@ Note: Upstart/SysV init based OS types are not supported.
-
[
kube-router
](
https://github.com/cloudnativelabs/kube-router
)
v1.1.1
-
[
multus
](
https://github.com/intel/multus-cni
)
v3.6.0
-
[
ovn4nfv
](
https://github.com/opnfv/ovn4nfv-k8s-plugin
)
v1.1.0
-
[
weave
](
https://github.com/weaveworks/weave
)
v2.
7
.0
-
[
weave
](
https://github.com/weaveworks/weave
)
v2.
8
.0
-
Application
-
[
ambassador
](
https://github.com/datawire/ambassador
)
: v1.5
-
[
cephfs-provisioner
](
https://github.com/kubernetes-incubator/external-storage
)
v2.1.0-k8s1.11
...
...
This diff is collapsed.
Click to expand it.
roles/download/defaults/main.yml
+
1
−
1
View file @
15dc3868
...
...
@@ -73,7 +73,7 @@ typha_enabled: false
flannel_version
:
"
v0.13.0"
cni_version
:
"
v0.9.0"
weave_version
:
2.
7
.0
weave_version
:
2.
8
.0
pod_infra_version
:
"
3.3"
cilium_version
:
"
v1.8.6"
kube_ovn_version
:
"
v1.5.2"
...
...
This diff is collapsed.
Click to expand it.
roles/network_plugin/weave/templates/weave-net.yml.j2
+
25
−
9
View file @
15dc3868
...
...
@@ -119,11 +119,34 @@ items:
name: weave-net
spec:
priorityClassName: system-node-critical
initContainers:
- name: weave-init
image: {{ weave_kube_image_repo }}:{{ weave_kube_image_tag }}
imagePullPolicy: {{ k8s_image_pull_policy }}
command:
- /home/weave/init.sh
env:
securityContext:
privileged: true
volumeMounts:
- name: cni-bin
mountPath: /host/opt
- name: cni-bin2
mountPath: /host/home
- name: cni-conf
mountPath: /host/etc
- name: lib-modules
mountPath: /lib/modules
- name: xtables-lock
mountPath: /run/xtables.lock
readOnly: false
containers:
- name: weave
command:
- /home/weave/launch.sh
env:
- name: INIT_CONTAINER
value: "true"
- name: HOSTNAME
valueFrom:
fieldRef:
...
...
@@ -191,16 +214,9 @@ items:
volumeMounts:
- name: weavedb
mountPath: /weavedb
- name: cni-bin
mountPath: /host/opt
- name: cni-bin2
mountPath: /host/home
- name: cni-conf
mountPath: /host/etc
- name: dbus
mountPath: /host/var/lib/dbus
- name: lib-modules
mountPath: /lib/modules
readOnly: true
- name: xtables-lock
mountPath: /run/xtables.lock
readOnly: false
...
...
@@ -224,7 +240,7 @@ items:
readOnly: false
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
hostPID:
tru
e
hostPID:
fals
e
restartPolicy: Always
securityContext:
seLinuxOptions: {}
...
...
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