Commit Graph

5780 Commits

Author SHA1 Message Date
Bryan Boreham
18acfcefe1 Run go fmt on various files
Seems that go fmt has changed behaviour since these files were last
checked in.  Changes are all cosmetic.
2020-12-30 18:30:34 +00:00
Bryan Boreham
b438707a92 Clean up lint errors in shell scripts 2020-12-30 18:30:34 +00:00
Daniel Holbach
1ab610ca78 .. 2020-09-03 10:16:04 +02:00
Daniel Holbach
cc85b48151 Merge commit '37ea4937a4de85a51c6f7af501f0a59c0f96f44a' into update-build-tools 2020-09-03 10:15:13 +02:00
Daniel Holbach
37ea4937a4 Squashed 'tools/' changes from f041a74ff..604e133c2
604e133c2 Merge pull request #167 from weaveworks/update-scheduler-instructions
bdd647e92 Merge pull request #169 from weaveworks/go-1.14.4
2c2792e7d Upgrade to Go 1.14.4
e6dd5e8f0 Merge pull request #168 from weaveworks/downgrade-werkzeug
144aa64c0 Restruct scheduler to use compatible version of werkzeug library
cc807901d Update instructions on how to deploy gc/scheduler
51a217660 Merge pull request #166 from weaveworks/165-rename-circleci-to-wksctl
bfd7a2bbe Renames circleci project wks -> wksctl afte code move
a5f7be3cc Note that the API token was revoked
15e4cfb94 Merge pull request #164 from weaveworks/improve-lint
dc8722589 Fix lint errors in Python code
8cb6a62a2 Set failure state if lint_files fails
c635ce412 Simplify the no-arguments case
167b7ed57 Skip entire directories that match filter patterns
1caa455a6 Refactor: read filter patterns once at start
4cc7911e5 Merge pull request #163 from weaveworks/fix-lint
393808dab Merge pull request #162 from weaveworks/golang-python3
3c5fcd16e Make lint run on CircleCI
f0936a1e9 lint all directories if not given a list
68f62a393 Fix typo in lint script
9ef44b057 Stop installing promtool
882df5ec5 Install python 3 instead of obsolete v2.7
988002377 Update Go to latest 1.13.3
2a2df5278 Merge pull request #161 from murali-reddy/terraform-update
bf8ed23b9 update google_compute_instance arguments as per the latest documentation

git-subtree-dir: tools
git-subtree-split: 604e133c2b7eb805766eab7be28723ef1ccd32aa
2020-09-03 10:15:13 +02:00
Daniel Holbach
b64ac919f7 shellcheck version? 2020-09-03 10:15:02 +02:00
Daniel Holbach
c9b44d7c93 use supported releases 2020-09-03 10:15:02 +02:00
Akash Srivastava
0763817ca4 Merge pull request #3816 from dholbach/security-updates
Security updates
2020-09-03 13:27:19 +05:30
Daniel Holbach
2b71e780ae update webpack and terser-webpack-plugin 2020-08-19 11:05:36 +02:00
Daniel Holbach
eab0b149e3 update dot-prop 2020-08-19 10:58:50 +02:00
Daniel Holbach
28700e3f43 Merge pull request #3814 from weaveworks/dependabot/npm_and_yarn/client/elliptic-6.5.3
build(deps): bump elliptic from 6.4.0 to 6.5.3 in /client
2020-07-31 13:19:55 +02:00
dependabot[bot]
8de130a436 build(deps): bump elliptic from 6.4.0 to 6.5.3 in /client
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.4.0 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.4.0...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-31 11:00:53 +00:00
Daniel Holbach
727c51756e Merge pull request #3812 from weaveworks/dependabot/npm_and_yarn/client/lodash-4.17.19
build(deps): bump lodash from 4.17.15 to 4.17.19 in /client
2020-07-20 11:47:59 +02:00
dependabot[bot]
470f3d62f5 build(deps): bump lodash from 4.17.15 to 4.17.19 in /client
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-20 09:19:32 +00:00
Bryan Boreham
e6faa2ba4b Merge pull request #3796 from weaveworks/billing-spy-interval
billing: cope with spy-interval set longer than publish-interval
2020-06-11 14:12:37 +01:00
Bryan Boreham
c71bf0fa18 Merge pull request #3801 from weaveworks/cancel-rendering
improvement: stop rendering if Context is cancelled
2020-06-11 12:45:53 +01:00
Bryan Boreham
5318498d9a improvement: make command-line parsing more robust 2020-06-11 11:15:35 +00:00
Bryan Boreham
70240fc82d billing: cope with spy-interval set longer than publish-interval 2020-06-11 11:15:35 +00:00
Bryan Boreham
5264b61951 improvement: stop rendering if Context is cancelled
Typically this means the http caller has closed the connection,
so no point responding to them.

Also check at the point we send a response back, and log to OpenTracing.
2020-06-11 11:13:38 +00:00
Bryan Boreham
f16f321c78 Merge pull request #3800 from weaveworks/fix-312-localhost
fix (integration tests): replace localhost with 127.0.0.1
2020-06-11 12:13:04 +01:00
Bryan Boreham
8807aef333 fix (integration tests): replace localhost with 127.0.0.1 for more predictable behaviour 2020-06-11 10:48:37 +00:00
Daniel Holbach
2021c7431e Merge pull request #3795 from weaveworks/update-deps
Update to most recent weaveworks/ui-components
2020-06-09 08:05:44 +02:00
Daniel Holbach
a82b6330c1 Run go mod vendor to fix build issue
As this would have deleted some headers in
	./vendor/github.com/iovisor/gobpf/elf
	I also ran
	git diff vendor/github.com/iovisor/gobpf/ | patch -p0 -R
2020-06-08 11:17:23 +02:00
Daniel Holbach
df07c894a7 update to most recent weaveworks-ui-components 2020-06-08 11:17:17 +02:00
Bryan Boreham
bf90d56f0c Merge pull request #3791 from weaveworks/fix-drop-topologies
multitenant query: don't drop topologies so much
2020-05-26 09:22:06 +01:00
Bryan Boreham
a20c51e94d Higher limit on topology size for merged reports.
Where a report has been merged from several probes, give it a higher
limit before dropping topologies.

We will already have applied the limit on each single-probe report as
it came in, except for historical ones.
2020-05-25 13:12:47 +00:00
Bryan Boreham
fd65155cd6 Register the metric for dropped topologies
Missed earlier.
2020-05-25 13:12:27 +00:00
Bryan Boreham
7163f42170 Merge pull request #3785 from weaveworks/go-1-14-2
Update tools: Go 1.4.2 and JS kind-of 6.0.3
2020-05-20 11:17:44 +01:00
Bryan Boreham
7f48d7ebc8 Merge pull request #3790 from knrt10/exampleFix
Fixed example for PodSecurityPolicy inside examples/k8s/psp.yaml
2020-05-20 11:16:50 +01:00
knrt10
73cb10ab64 expamples: Fixed examples/k8s/psp.yaml file
PodSecurityPolicy (in the extensions/v1beta1 API group)
Migrated to use the policy/v1beta1 API, available since v1.10. Existing persisted data can be retrieved/updated via the policy/v1beta1 API.

Signed-off-by: knrt10 <tripathi.kautilya@gmail.com>
2020-05-20 15:15:02 +05:30
Bryan Boreham
b308f0cf51 Merge pull request #3789 from weaveworks/billing-use-container-info
multitenant: scan container command-lines as well as process
2020-05-19 12:17:08 +01:00
Bryan Boreham
b117b1a5ef cosmetic: move misplaced import 2020-05-19 10:09:52 +00:00
Bryan Boreham
ad82fafde8 multitenant: scan container command-lines as well as process 2020-05-19 10:09:28 +00:00
Bryan Boreham
f83ad517d8 multitenant: extract command-line parsing function and add test 2020-05-19 10:07:23 +00:00
Bryan Boreham
5262f0c320 Ran 'go mod tidy' 2020-05-19 09:24:12 +00:00
Bryan Boreham
ef608ef257 Merge pull request #3788 from weaveworks/release-1.13
Release 1.13.1
2020-05-18 16:37:53 +01:00
Bryan Boreham
2f9ccdc8be Release 1.13.1 v1.13.1 2020-05-18 12:57:01 +00:00
Bryan Boreham
e907a51c36 Merge pull request #3787 from weaveworks/release-args-unquoted
Don't quote RELEASE_ARGS which may contain two arguments
2020-05-18 13:38:01 +01:00
Bryan Boreham
01804cb69d Merge pull request #3754 from CiMaol/dev/removeKubeletPort
Removed kubelet port flag. Node name now always need from env/flag
2020-05-18 12:27:06 +01:00
Bryan Boreham
1ad83e85de Warn user if probe is now reporting pods from every node. 2020-05-10 15:34:17 +00:00
Bryan Boreham
f0e43aa020 fix(probe): wait for ebpf tracker to stop on exit
We should have done this anyway, but I haven't noticed the error
previously. Possibly Go 1.14 is more aggressive about exiting when
some goroutines are still active.
2020-05-10 15:30:28 +00:00
Bryan Boreham
1a8dc90633 ui: update kind-of module to 6.0.3
We got a warning about a vulnerability in 6.0.2
2020-05-07 15:14:08 +00:00
Bryan Boreham
22aa742b58 build: upgrade Go to 1.14.2 2020-05-07 11:46:52 +00:00
Bryan Boreham
47519e41df Merge pull request #3784 from weaveworks/pipe-errors
Stop pipe operations after EOF
2020-05-07 12:28:51 +01:00
Bryan Boreham
24197bc71e fix (pipes): silence EOF error
This comes back when an operation like Kubernetes Describe finishes;
hide it so we don't print as an error.
2020-05-06 10:04:44 +00:00
Bryan Boreham
323aa46d1c fix (pipes): check websocket errors inside CopyToWebsocket()
Previously we were treating EOF on the reader as no-error, meaning
that operations like Kubernetes Describe would retry endlessly when
finished.
2020-05-06 10:04:40 +00:00
Bryan Boreham
7f0f13b083 Merge pull request #3782 from weaveworks/limit-topologies-on-collection
Upgrade reports before merging in multitenant collector
2020-04-17 11:24:14 +01:00
Bryan Boreham
fa4d1c4c2b Upgrade reports before merging
In case they came from an older or an overload probe.
2020-04-16 19:27:40 +00:00
Bryan Boreham
b772fa83b3 Add a metric for topologies dropped because they are over limit
Need to modify DropTopologiesOver() to report what it dropped, and
plumb through the userid so the metric can show who has a problem.
2020-04-16 19:27:28 +00:00
Bryan Boreham
24847e81c5 Merge pull request #3780 from weaveworks/merge-in-collector
Multitenant: merge incoming reports in collector
2020-04-15 19:08:39 +01:00