Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit e669ac6

Browse files
author
Martynas Pumputis
committed
Merge remote-tracking branch 'origin/2.3' into 2.4
2 parents 4263ac1 + 973e107 commit e669ac6

File tree

2 files changed

+2
-29
lines changed

2 files changed

+2
-29
lines changed

site/install.md

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ Install Weave Net from the command line on its own or if you are using Docker, K
3131
* [Integrating Kubernetes and Mesos via the CNI Plugin](https://www.weave.works/docs/net/latest/kubernetes/)
3232
* [Integrating Kubernetes via the Addon](https://www.weave.works/docs/net/latest/kubernetes/kube-addon/)
3333
* [Installation](https://www.weave.works/docs/net/latest/kubernetes/kube-addon/#install)
34-
* [Upgrading Kubernetes to version 1.6](https://www.weave.works/docs/net/latest/kubernetes/kube-addon/#kube-1.6-upgrade)
3534
* [Upgrading the Daemon Sets](https://www.weave.works/docs/net/latest/kubernetes/kube-addon/#daemon-sets)
3635
* [CPU and Memory Requirements](https://www.weave.works/docs/net/latest/kubernetes/kube-addon/#resources)
3736
* [Pod Eviction](https://www.weave.works/docs/net/latest/kubernetes/kube-addon/#eviction)

site/kubernetes/kube-addon.md

+2-28
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ search_type: Documentation
77
The following topics are discussed:
88

99
* [Installation](#install)
10-
* [Upgrading Kubernetes to version 1.6](#kube-1.6-upgrade)
1110
* [Upgrading the Daemon Sets](#daemon-sets)
1211
* [CPU and Memory Requirements](#resources)
1312
* [Pod Eviction](#eviction)
@@ -64,38 +63,13 @@ Shut down Kubernetes, and _on all nodes_ perform the following:
6463
Then relaunch Kubernetes and install the addon as described
6564
above.
6665

67-
## <a name="kube-1.6-upgrade"></a> Upgrading Kubernetes to version 1.6
68-
69-
In version 1.6, Kubernetes has increased security, so we need to
70-
create a special service account to run Weave Net. This is done in
71-
the file `weave-daemonset-k8s-1.6.yaml` attached to the [Weave Net
72-
release](https://github.com/weaveworks/weave/releases/latest).
73-
74-
Also, the
75-
[toleration](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/taint-toleration-dedicated.md)
76-
required to let Weave Net run on master nodes has moved from an
77-
annotation to a field on the DaemonSet spec object.
78-
79-
If you have edited the Weave Net DaemonSet from a previous release,
80-
you will need to re-make your changes against the new version.
81-
8266
### <a name="daemon-sets"></a> Upgrading the Daemon Sets
8367

84-
For Kubernetes 1.6 and above the DaemonSet definition specifies
85-
[Rolling Updates](https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/),
68+
The DaemonSet definition specifies [Rolling
69+
Updates](https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/),
8670
so when you apply a new version Kubernetes will automatically restart
8771
the Weave Net pods one by one.
8872

89-
Kubernetes v1.5 and below does not support rolling upgrades of daemon sets,
90-
and so you will need to perform the procedure manually:
91-
92-
* Apply the updated addon manifest `kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')"`
93-
* Kill each Weave Net pod with `kubectl delete` and then wait for it to reboot before moving on to the next pod.
94-
95-
**Note:** In versions prior to Weave Net 2.0, deleting all Weave Net pods at the same time
96-
will result in them losing track of IP address range ownership, possibly leading to
97-
duplicate IP addresses if you then start a new copy of Weave Net.
98-
9973
## <a name="resources"></a>CPU and Memory Requirements
10074

10175
Kubernetes manages

0 commit comments

Comments
 (0)