Bryan Boreham
ed8d92cfc6
RBAC to read and write ConfigMaps
2017-11-14 14:06:33 +00:00
Bryan Boreham
6b4c6c84b4
Add back HOSTNAME env var for weave-npc container
2017-07-03 16:41:07 +00:00
Marc CARRE
a0064f7535
Update YAMLs to be what the Launch Generator serves.
...
See also:
- https://github.com/weaveworks/launch-generator/issues/133
- https://github.com/weaveworks/launch-generator/pull/134
Command used:
```
$ curl -fsSo prog/weave-kube/weave-daemonset-k8s-1.6.yaml "http://localhost:8080/k8s/v1.6/net?v=latest "
$ curl -fsSo prog/weave-kube/weave-daemonset.yaml "http://localhost:8080/k8s/v1.5/net?v=latest "
```
Annotations then removed.
2017-06-26 17:54:17 +01:00
Bryan Boreham
d958cff58e
Put kube-system namespace back in the weave-kube yaml
...
Save people getting in to trouble when they don't know to add `-n kube-system`
2017-06-23 16:07:55 +00:00
Marc CARRE
0d083077ab
Update YAMLs to be what the Launch Generator serves.
...
See also:
- weaveworks/launch-generator/pull/130
- weaveworks/launch-generator/pull/125
Command used:
```
$ curl -fsSo prog/weave-kube/weave-daemonset-k8s-1.6.yaml "https://localhost:8080/k8s/v1.6/net?v=latest "
$ curl -fsSo prog/weave-kube/weave-daemonset.yaml "https://localhost:8080/k8s/v1.5/net?v=latest "
```
Annotations then removed.
2017-06-21 14:41:59 +01:00
Bryan Boreham
70f004cc62
Merge pull request #3018 from Shimi/patch-2
...
modify tolerations to match any taint
2017-06-20 12:02:56 +01:00
Marc CARRE
666631134c
Update YAMLs to be what the Launch Generator serves.
...
See also: weaveworks/launch-generator/pull/117
Command used:
```
$ curl -fsSo prog/weave-kube/weave-daemonset-k8s-1.6.yaml "https://cloud.weave.works/k8s/v1.6/net?v=latest "
$ curl -fsSo prog/weave-kube/weave-daemonset.yaml "https://cloud.weave.works/k8s/v1.5/net?v=latest "
```
Annotations then removed.
2017-06-16 09:06:26 +00:00
Shimi Kiviti
66a569fc40
modify tolerations to match any node
...
Currently weave doesn't run on nodes with tolerations except the master
The suggested code change it to run on all nodes
2017-06-15 15:32:50 +03:00
Bryan Boreham
7871a0b7a4
Merge branch 1.9
2017-06-01 15:03:59 +00:00
Maxim Filatov
cb3b858df6
Weave-NPC should get hostname from K8s Downward API.
...
It is necessary in case when kubelet's args includes `--hostname_override=`.
Without this change, pods on hostname overriding kubelets will never be local,
and all pod's traffic will be blocked.
2017-05-31 18:06:17 +03:00
Marc CARRE
067ce6de9f
Update Weave-Kube daemonset YAML files using Launch Generator.
...
Note that given the YAML's structure is different from previous version, indentation of `COVERAGE_ARGS` had to change (+4 whitespaces to each line).
Commands used:
```
$ curl -fsS https://frontend.dev.weave.works/k8s/v1.5/net?v=latest > prog/weave-kube/weave-daemonset.yaml
$ curl -fsS https://frontend.dev.weave.works/k8s/v1.6/net?v=latest > prog/weave-kube/weave-daemonset-k8s-1.6.yaml
```
Annotations removed from Launch Generator's files:
```
annotations:
cloud.weave.works/launcher-info: |-
{
"server-version": "master-050965d",
"original-request": {
"url": "/k8s/v1.6/net?v=latest",
"date": "Thu May 25 2017 13:16:43 GMT+0000 (UTC)"
},
"email-address": "support@weave.works "
}
```
and
```
annotations:
cloud.weave.works/launcher-info: |-
{
"server-version": "master-050965d",
"original-request": {
"url": "/k8s/v1.5/net?v=latest",
"date": "Thu May 25 2017 13:16:43 GMT+0000 (UTC)"
},
"email-address": "support@weave.works "
}
```
2017-05-26 14:19:26 +01:00
Bryan Boreham
bebaa48520
Change weavedb from an emptyDir to a hostPath volume
...
EmptyDir has the same lifetime as the pod, whereas we want our
persistence to extend past that, e.g. when Weave Net is upgraded.
`weave reset` cleans out the file.
We assume that /var/lib is writable.
2017-05-17 12:38:24 +00:00
Bryan Boreham
9da5cee8d9
Rename Kubernetes daemonset to "1.6"
...
To emphasise this is the version that adopters of Kubernetes 1.6 need
to use.
2017-03-17 11:45:06 +00:00