Bryan Boreham
875fdba352
rendering: simplify ContainerHostnameRenderer
...
The second half of the render added all the same nodes, except for
those with no Docker image information, so we could show a figure for
those filtered out on that basis.
This just isn't worth the effort.
2020-01-27 21:28:23 +00:00
Bryan Boreham
bbce9e3d69
refactor: simplify ContainerImageRenderer
...
Crunch a Map and Reduce into a single Renderer that has the same function.
2020-01-27 21:27:49 +00:00
Bryan Boreham
53297eb07c
Merge pull request #3743 from weaveworks/more-pause
...
kubernetes: detect more 'pause' containers
2020-01-23 14:43:06 +00:00
Bryan Boreham
a375a54546
Merge pull request #3714 from weaveworks/simplify-control-serialisation
...
performance: send active controls as a single string per node
2020-01-23 12:15:21 +00:00
Bryan Boreham
880daa78ff
Extend K8s tagger test to cover pause containers
2020-01-23 11:47:40 +00:00
Bryan Boreham
35451b4826
Merge pull request #3742 from weaveworks/go-modules
...
Convert to Go modules
2020-01-15 12:20:30 +00:00
Bryan Boreham
92b8a489e7
kubernetes: detect more 'pause' containers
...
Dockershim has added a label `io.kubernetes.docker.type` for at least
four years, where the pause container is of type `podsandbox`. This
should be more reliable than trying to keep up with everyone's name
for the pause container.
2020-01-15 10:26:10 +00:00
Bryan Boreham
f70f2481c7
Update tcptracer-bpf version so we don't need manual workaround
2020-01-14 14:58:08 +00:00
Bryan Boreham
15bb96bb67
Remove outdated instructions about rebuilding Go libraries
...
This bit is unnecessary with newer versions of Go that cache builds
for different tags in different places.
2020-01-14 13:22:33 +00:00
Bryan Boreham
bc4ec26bf5
Turn off module use for codecgen build
...
There is no way to pass `-mod=vendor` through to the Go compilation
that codecgen runs.
2020-01-14 12:33:49 +00:00
Bryan Boreham
aae86877c7
Add back runsvint dependency
...
This is a small program used to watch app and probe running inside
the container. We need to go round a few houses to be able to build
it from vendor directory.
2020-01-14 12:29:31 +00:00
Bryan Boreham
54a513c9fc
fixup: manually add C files that 'go mod' doesn't bring in
...
Need workaround until a fix upstream such as
https://github.com/iovisor/gobpf/pull/206/files is merged.
2020-01-14 11:12:48 +00:00
Bryan Boreham
3a991eca99
build: use vendored files when building
2020-01-13 17:29:07 +00:00
Bryan Boreham
3357551619
build: don't need -i flag
...
This was useful to cache dependent library builds, but Go does that
better now so we don't need the flag.
2020-01-13 17:28:18 +00:00
Bryan Boreham
2171e21cae
Ensure ugorji code-generation dependencies are vendored
2020-01-13 17:27:13 +00:00
Bryan Boreham
0bb92227a2
build: update vendor directory
2020-01-13 16:56:01 +00:00
Bryan Boreham
b6c25e6cfe
build: update docker dependency to fix compile error in fsouza
2020-01-13 16:56:00 +00:00
Bryan Boreham
20898ea352
build: tweak version of iovisor and its dependencies
...
Without this we get a build error:
github.com/Sirupsen/logrus: github.com/Sirupsen/logrus@v1.4.2: parsing go.mod:
module declares its path as: github.com/sirupsen/logrus
but was required as: github.com/Sirupsen/logrus
2020-01-13 16:55:59 +00:00
Bryan Boreham
2bfe2146e5
build: initial modules conversion
...
Created by running `go mod init`; all versions the same as before.
2020-01-13 16:55:55 +00:00
Bryan Boreham
1dcdfab05a
fixup: from review feedback
...
Fix a logic error in ECS scale-down button, bad copy/paste in
ActiveControls() and neaten the switch cases in container controls.
Co-Authored-By: Filip Barl <filip@weave.works >
2020-01-13 14:48:38 +00:00
Filip Barl
1f51495e59
Merge pull request #3733 from weaveworks/dedupe-yarn-with-integrity
...
Dedupe yarn.lock
2020-01-13 12:08:24 +01:00
Bryan Boreham
8b1296c892
Merge pull request #3735 from weaveworks/more-rbac
...
Add more rbac permissions in the 'apps' group
2019-12-15 20:52:31 +00:00
Bryan Boreham
91eb720b8d
Add more rbac permissions in the 'apps' group
...
Daemonset was missed in the update from v1beta1 to v1;
also we need get and update on deployments/scale.
2019-12-12 20:18:04 +00:00
Filip Barl
c6d5fe1ec6
build(client): Ran yarn install to update yarn.lock
2019-12-05 11:18:07 +01:00
Filip Barl
51c731a1e9
build(client): deduplicate all yarn dependencies
2019-12-05 11:16:14 +01:00
Bryan Boreham
635cea0b56
backwards-compatibility: unmarshall latestControls data from older probes
...
With a test.
2019-11-26 11:31:44 +00:00
Bryan Boreham
eb381f167d
refactor: move Report backwards-compatibility code into its own file
...
Makes report.go a little easier to read.
2019-11-26 11:31:44 +00:00
Bryan Boreham
c88be40b19
performance: Update plugins to new-style controls data
2019-11-26 11:29:42 +00:00
Bryan Boreham
85d2f6309c
performance: Send active controls as a single string per node
...
Instead of a whole extra data structure which is quite expensive to
marshal and unmarshal, just send the information in a string. No
clever merging strategy is required - the states are all set in one
place per node type.
2019-11-26 11:29:42 +00:00
Bryan Boreham
5ebe9b4b18
Merge pull request #3720 from DarthSett/master
...
Adding the "user-agent" Header
2019-11-26 11:19:36 +00:00
Bryan Boreham
5dc83325b9
Merge pull request #3729 from slalwani97/update-terminating-state
...
Update pod status to terminating
2019-11-26 11:13:28 +00:00
Sumit Lalwani
1ce7707f25
Update pod status to terminating
...
Signed-off-by: Sumit Lalwani <sumit.lalwani97@gmail.com >
2019-11-25 11:31:48 +05:30
Bryan Boreham
534505253f
Merge pull request #3718 from weaveworks/release-1.12
...
Release 1.12.0
2019-11-12 17:50:06 +00:00
Bryan Boreham
d9082d2649
Release 1.12.0
v1.12.0
2019-11-12 17:20:19 +00:00
Daniel Holbach
056704e8cd
Merge pull request #3726 from weaveworks/update-js-lib
...
Update js libs
2019-11-12 12:46:26 +01:00
Daniel Holbach
f27fdcda1a
update a number of js libs
2019-11-12 10:58:55 +01:00
DarthSett
ccfd2f0427
Added test to check user-agent header
2019-10-28 19:34:22 +05:30
DarthSett
4eab46670e
Update user-agent in probe/appclient/probe_config.go
...
Co-Authored-By: Filip Barl <filip.barl@gmail.com >
2019-10-25 19:31:17 +05:30
DarthSett
af31e30439
Add user-agent header
2019-10-25 12:33:35 +05:30
Bryan Boreham
1b78a035b7
Merge pull request #3719 from weaveworks/update-lodash
...
Consolidate all lodash versions to 4.17.15
2019-10-24 12:49:51 +01:00
“DarthSett”
7adc70c5a5
add the user-agent header
2019-10-23 16:35:57 +05:30
rahul agrawal
0000173c05
add the user-agent header
2019-10-23 16:31:59 +05:30
Bryan Boreham
b3485dd294
Consolidate all lodash versions to 4.17.15
2019-10-22 14:24:10 +00:00
Bryan Boreham
4bb2a435ae
Merge pull request #3712 from weaveworks/3711-restart-sync
...
fix(probe/ebpf): feed initial connections synchronously on restart
2019-10-22 12:09:49 +01:00
Filip Barl
bb0a263db8
Merge pull request #3717 from chandankumar4/custom-plugin
...
(fix): Mount plugin volume to weave-scope-cluster-agent resource
2019-10-22 12:17:47 +02:00
Bryan Boreham
abefd967e6
Merge pull request #3716 from weaveworks/dont-save-shortcut-reports
...
performance(aws_collector): don't persist shortcut reports
2019-10-21 12:31:44 +01:00
chandan kumar
67c2dd581b
Mount plugin volume to weave-scope-cluster-agent resource
2019-10-19 01:01:06 +05:30
Bryan Boreham
d516ed9883
performance(aws_collector): don't persist shortcut reports
...
Shortcut reports are sent to update the UI quickly, on events like a
container starting. We don't need to persist them in the time-travel
data since the same information will be covered by a regular report a
few seconds later.
2019-10-17 18:02:36 +00:00
Bryan Boreham
4a02171e83
Merge pull request #3713 from weaveworks/dns-nodes
...
Fix accidental rename of DNS to 'nodes'
2019-10-17 12:07:02 +01:00
Bryan Boreham
b9c71f30d6
Update comments based on review feedback
2019-10-17 10:38:58 +00:00