Bryan Boreham
20ce708db9
Don't bother deduplicating IPs; they end up in a set
2018-06-04 16:41:24 +00:00
Bryan Boreham
c6c51f36f7
Limit network namespace code to compile on Linux only
2018-06-04 10:54:02 +00:00
Bryan Boreham
ade54ba84e
probe: stop calling 'weave ps'
...
Now that we enter the container namespace to fetch IPs for every
container, there is no need to have 'weave ps' do it.
This does mean we lose Weave MAC addresses, but that is a rather
idiosyncratic feature anyway.
2018-06-02 22:22:08 +00:00
Bryan Boreham
ff5b2affe0
probe: fetch container IP addresses from inside its namespace
...
So that we can pick up addresses added via CNI or other mechanisms
that Docker is not aware of.
2018-06-02 21:49:30 +00:00
Bryan Boreham
5ab00ae664
Build: update to Go 1.10
...
So that we can rely on the fix to runtime.LockOSThread()
2018-06-02 21:48:01 +00:00
Bryan Boreham
a883e93080
Vendor: add vishvananda/netns and netlink
...
We will use them to fetch IP addresses from container namespaces
Required an update to golang.org/x/sys/unix
2018-06-02 21:45:17 +00:00
Alfonso Acosta
7216989173
Add code of conduct
2018-05-23 16:24:47 +02:00
Bryan Boreham
ca3dacdd70
Merge pull request #3188 from kinvolk/schu/limit-ubuntu-kernel-oops-workaround
...
ebpf: update check for known faulty Ubuntu kernels
2018-05-23 11:45:51 +01:00
Michael Schubert
7bb1e38de3
ebpf: update check for known faulty Ubuntu kernels
...
With c75700fe04 we added code to detect
Ubuntu Xenial kernels with a regression in the eBPF subsystem in order
to gently fallback to procfs scanning on such systems (and not crash the
host system by running eBPF code).
With the latest kernel update for Ubuntu Xenial, the bug was fixed:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1763454
Therefore we can update the added check with an upper limit and make
sure that eBPF connection tracking only is disabled on kernels within
the range having the bug.
xref: https://github.com/weaveworks/scope/issues/3131
2018-05-23 11:38:04 +02:00
Filip Barl
a7c7f89897
Merge pull request #3181 from weaveworks/3180-adjust-font-sizes
...
Adjust font sizes
2018-05-21 22:20:21 +02:00
Filip Barl
96c016d07f
Merge pull request #3179 from weaveworks/3178-fix-terminal-viewport
...
Adjusted terminal character width/height estimation
2018-05-21 17:30:16 +02:00
Bryan Boreham
613df3a81f
Merge pull request #3152 from weaveworks/remove-critbit-override
...
Put critbitgo library back to master branch
2018-05-21 12:06:37 +01:00
Bryan Boreham
be0fdf6ebd
Merge pull request #3155 from tasdikrahman/f/k8s/restrictive_clusterrole
...
examples: k8s: added manifest for scope deployment
2018-05-21 12:04:24 +01:00
Stefan Prodan
bbf83e147e
Merge pull request #3183 from weaveworks/k10-fix
...
Fix pause image detection for Kubernetes 1.10
2018-05-19 15:43:23 +03:00
Stefan Prodan
439b67880e
Fix pause image detection for Kubernetes 1.10
2018-05-19 14:03:17 +03:00
Filip Barl
068327b84c
Adjust font sizes.
2018-05-19 08:07:49 +02:00
Filip Barl
45486f44c0
Use xterm/fit addon.
2018-05-18 17:48:54 +02:00
Filip Barl
6e139c9408
Remove outdated terminalCellSize estimation code.
2018-05-18 16:52:38 +02:00
Filip Barl
43c23d2bc0
Adjusted character width/height estimation.
2018-05-18 16:52:38 +02:00
Filip Barl
5e700d996b
Merge pull request #3177 from weaveworks/212-enforce-theme-fonts
...
Enforce theme fonts
2018-05-18 14:40:36 +02:00
Filip Barl
941cf16cfd
Customize terminal stylesheet.
2018-05-18 12:47:05 +02:00
Roland Schilter
f012c23ca1
Sentence cased text everywhere ( #3166 )
...
* Sentence cased text everywhere
Follows Weave Cloud's direction of sentence case on most things.
* More space between sorter caret and label
* Use full topology name for table header
2018-05-17 17:30:38 -07:00
Filip Barl
2e8c9961fc
Merge pull request #3173 from weaveworks/3161-show-image-tag
...
Show image tag in node details
2018-05-17 17:06:47 +02:00
Filip Barl
bfb20a8f40
Addressed @LiliC's feedback.
2018-05-17 11:43:54 +02:00
Filip Barl
183aaea950
Fixed the tests.
2018-05-17 11:09:31 +02:00
Filip Barl
4382deb39b
Show image tag separate from image name in Node Details.
2018-05-17 11:09:31 +02:00
Filip Barl
0bd9cc640d
Enforce theme fonts.
2018-05-17 11:04:08 +02:00
Jordan Pellizzari
0b3ee4647a
Merge pull request #3175 from weaveworks/2348-change-urls
...
Change URL resolution to accomodate Weave Cloud paths
2018-05-16 14:24:24 -07:00
jpellizzari
109667bcdb
Change URL resolution to accomodate Weave Cloud paths
2018-05-15 12:00:17 -07:00
Filip Barl
7384e24e63
Merge pull request #3170 from weaveworks/208-theme-border-radius
...
Enforce theme border radius
2018-05-15 12:42:58 +02:00
Filip Barl
e059845efd
Merge pull request #3172 from weaveworks/3160-close-terminal-on-exit
...
Close xterm on exit
2018-05-14 18:29:16 +02:00
Filip Barl
07c851178c
Fix spelling.
2018-05-14 17:58:11 +02:00
Filip Barl
e9cafc634a
Close xterm on exit.
2018-05-14 16:39:58 +02:00
Marc Carré
206aa5c434
Merge pull request #3171 from weaveworks/add-opencontainers-labels-to-dockerfiles
...
Add org.opencontainers.image.* labels to Dockerfiles
2018-05-14 14:29:55 +01:00
Marc Carré
4e58b83024
Add org.opencontainers.image.* labels to Dockerfiles
...
- This should ultimately help for image-to-code back references.
- `org.label-schema.*` labels are now deprecated, in favour of `org.opencontainers.image.*` labels.
See also: https://github.com/opencontainers/image-spec/blob/master/annotations.md#back-compatibility-with-label-schema
- Git revision (`git rev-parse HEAD`) is now injected at `docker build` time.
2018-05-14 11:54:33 +01:00
Filip Barl
72d8e58c63
Enforce theme border radius.
2018-05-14 12:11:51 +02:00
Roland Schilter
daccb6648d
Dynamic table header width according to scrollbar ( #3169 )
...
Sizes the fixed table header of `NodeDetailsTable` width dynamically
depending on the content's scrollbar width. Makes sure the table header
cells align with the table body cells.
This also widens the "Parent PID" cell to make sure the text is not cut
off. Alternatively, could be renamed to "PPID".
Fixes #3158 .
2018-05-11 13:26:45 -07:00
Filip Barl
25415f7cba
Merge pull request #3167 from weaveworks/202-theme-fonts
...
Enforce theme font sizes
2018-05-11 18:29:08 +02:00
Filip Barl
154a54e3f5
Use theme font sizes.
2018-05-11 16:56:08 +02:00
Filip Barl
c837804371
Enforce theme fonts.
2018-05-11 16:26:27 +02:00
Filip Barl
5adb73c561
Merge pull request #3159 from weaveworks/162-use-standard-z-indices
...
Use only z-index values from the theme
2018-05-07 18:05:13 +02:00
Filip Barl
c82f59c121
Use only z-index values from the theme.
2018-05-07 17:06:44 +02:00
Marcus Cobden
324173f3d0
Merge pull request #3157 from weaveworks/lower-rpc-timeout
...
Add CLI flag for SQS RPC timeout
2018-05-04 11:19:11 +01:00
Marcus Cobden
ba81924278
Add CLI flag for SQS RPC timeout
2018-05-04 10:11:25 +01:00
Marcus Cobden
0dfbe8b10f
Fix tests broken by hasty merging
2018-05-03 19:27:50 +01:00
Marcus Cobden
4fae760b06
Merge pull request #3156 from weaveworks/fix-panic-maybe
...
Add null check to fix querier panic
2018-05-03 17:25:33 +01:00
Marcus Cobden
8eb9fc86ae
Add null checks to fix querier panic
2018-05-03 17:23:58 +01:00
Tasdik Rahman
eb849432a1
examples: k8s: added manifest for scope deployment
...
- closes https://github.com/weaveworks/scope/issues/3153
2018-05-02 17:39:26 +05:30
Bryan Boreham
9eb8078944
Put critbitgo library back to master branch
...
Undo the local override introduced in 04ceb0cc87
because https://github.com/k-sone/critbitgo/pull/7 has been merged.
2018-04-28 09:54:03 +00:00
Filip Barl
d19b0293f6
Merge pull request #3148 from weaveworks/176-remove-some-colors
...
Stop using dropped theme colors
2018-04-18 08:32:44 +02:00