Commit Graph
3825 Commits
Author SHA1 Message Date
Alfonso Acosta cb0afade3e Use shfmt v1.3.0 instead of gopkg.in's v1
"inspired" by https://github.com/weaveworks/cortex/commit/1ba9d6d82c0c451835f6b9f8fdeecd12ebda5646
2017-05-22 17:27:35 +02:00
Alban Crequy 0096688415 shfmt: fix shell formatting
Symptoms:
```
extras/dialer/time-scope-probe-cgroup:31:18: arithmetic expressions must consist of names and numbers
extras/dialer/time-scope-probe-cgroup: run shfmt -i 4 -w extras/dialer/time-scope-probe-cgroup
extras/dialer/time-scope-probe-proc:28:18: arithmetic expressions must consist of names and numbers
extras/dialer/time-scope-probe-proc: run shfmt -i 4 -w extras/dialer/time-scope-probe-proc
extras/in_parallel.sh:29:16: arithmetic expressions must consist of names and numbers
extras/in_parallel.sh: run shfmt -i 4 -w extras/in_parallel.sh
```

Visible on https://circleci.com/gh/kinvolk/scope/980
2017-05-22 17:27:35 +02:00
Alfonso Acosta 0ee3a3fa8e Merge pull request #2526 from weaveworks/mike/k8s/add-daemonsets
Add daemonsets
2017-05-22 11:26:38 +02:00
Mike Lang c0751cd4e2 probe/kubernetes: Propagate errors in getting label selectors 2017-05-19 15:06:53 -07:00
Mike Lang 3aa4a676dd Add new view for daemonsets 2017-05-19 15:06:53 -07:00
Mike Lang d4a5360d4c k8s probe: Collect info on daemonsets for new DaemonSet topology 2017-05-19 15:06:51 -07:00
Mike Lang c60731b043 Add report topology for daemonsets 2017-05-19 15:00:01 -07:00
Alfonso Acosta 708c0890eb Merge pull request #2518 from kinvolk/alban/fdinstall
handle fdinstall events from tcptracer-bpf (aka "accept before kretprobe" issue)
2017-05-19 15:52:54 +02:00
Alban Crequy b761b5e52b integration tests: better log messages 2017-05-19 14:49:38 +02:00
Alban Crequy 4613819cb9 integration test: accept before kretprobe 2017-05-19 14:49:38 +02:00
Alban Crequy d715ccc391 ebpf: handle fd_install events from tcptracer-bpf
Since https://github.com/weaveworks/tcptracer-bpf/pull/39, tcptracer-bpf
can generate "fd_install" events when a process installs a new file
descriptor in its fd table. Those events must be requested explicitely
on a per-pid basis with tracer.AddFdInstallWatcher(pid).

This is useful to know about "accept" events that would otherwise be
missed because kretprobes are not triggered for functions that were
called before the installation of the kretprobe.

This patch find all the processes that are currently blocked on an
accept() syscall during the EbpfTracker initialization.
feedInitialConnections() will use tracer.AddFdInstallWatcher() to
subscribe to fd_install  events. When a fd_install event is received,
synthesise an accept event with the connection tuple and the network
namespace (from /proc).
2017-05-19 14:49:38 +02:00
Alban Crequy 1fb4ce728b vendor: update tcptracer-bpf
This includes https://github.com/weaveworks/tcptracer-bpf/pull/39
2017-05-19 14:14:26 +02:00
Alfonso Acosta dbdb648ada Merge pull request #2527 from weaveworks/2494-track-non-natted-shortlived-conns
Let conntrack track non-NATed short-lived connections
2017-05-19 01:42:02 +02:00
Alfonso Acosta 6e6f246771 Merge pull request #2528 from weaveworks/re-enable-pod-shortcut-reports
Re-enable pod shortcut reports
2017-05-19 01:41:36 +02:00
Alfonso Acosta 1063a7bf39 Remove test debugging 2017-05-18 20:31:56 +00:00
Alfonso Acosta 7491031769 Add integration test 2017-05-18 20:28:28 +00:00
Alfonso Acosta 2d6034a2e5 Re-enable pod shortcut reports 2017-05-18 10:21:32 +00:00
Alfonso Acosta 7497c7d432 Let conntrack track non-NATed short-lived connections 2017-05-16 23:15:16 +00:00
Alfonso Acosta 5079c114bc Merge pull request #2507 from kinvolk/alban/perf-map-fixes
ebpf connection tracker: perf map fixes
2017-05-16 21:57:42 +02:00
Matthias Radestock 61007dccb6 Merge pull request #2522 from weaveworks/namespace-default-all
show all namespaces by default
2017-05-16 17:51:37 +01:00
Filip Barl a585514d90 Hide container images status for pseudo nodes. (#2520) 2017-05-16 15:51:57 +01:00
Matthias Radestock f7bba52979 show all namespaces by default
There is nothing special about the "default" namespace, and selecting
it by default means we only show a partial view of the system, which
is hard to spot, especially for novice users.
2017-05-16 09:54:28 +01:00
Matthias Radestock bf02eb0cc7 fix typos in usage info 2017-05-16 09:15:42 +01:00
Mike Lang 783070163d Merge pull request #2521 from Preskton/master
Breaking out some Azure-based services from "The Internet" (#1876)
2017-05-15 14:09:54 -07:00
preston_doster_tc ed9c369f50 Standardized formatting. 2017-05-15 15:27:48 -05:00
preston_doster_tc 0f1c2f1cb7 Corrected spacing. 2017-05-15 13:32:39 -05:00
preston_doster_tc df58f55782 Added Azure endpoints so they show up as individual nodes instead of under 'The Internet'. 2017-05-15 13:27:06 -05:00
Filip Barl 5935a32d0a Canvas zoom control (#2513)
* Added a zoom slider control in the bottom-right corner.

* Made the control vertical and added the buttons.

* Adjusted the styles and borders.

* Trying to fix Webpack

* Hide zoom control when there is no content.

* Polished the code.
2017-05-15 11:49:12 +02:00
Alfonso Acosta 963a41107c Merge pull request #2516 from kinvolk/ckuehl/add-documentation-for-multicolumn-tables
Add multicolumn-table documentation
2017-05-12 15:46:19 +02:00
Alfonso Acosta f065092622 Merge pull request #2519 from weaveworks/2497-udpate-k8s-install-instructions-encore
Update install documents (again)
2017-05-12 12:37:25 +02:00
Alfonso Acosta 7409e2d844 Review feedback 2017-05-12 10:21:35 +00:00
Alfonso Acosta 6331662239 Update install documents (again) 2017-05-12 09:47:43 +00:00
Filip Barl 6d270fe78b Fix arrow heads positioning (#2505)
* Fix arrow heads positioning.

* Addressed @foot's comment.

* Beautified the code and added some comments.
2017-05-12 10:39:22 +02:00
Chris Kühl f4c5ad3589 Add multicolumn-table documentation 2017-05-11 11:30:05 +02:00
Alfonso Acosta ec6d5e967a Merge pull request #2515 from weaveworks/2508-avoid-null-derreferences-encore
Avoid null dereferences in ECS client (encore)
2017-05-10 19:56:29 +02:00
Alban Crequy 9079677873 ebpf tracker: add callback for lost events
Lost events were previously unnoticed. This patch adds an error in the
log and stops the ebpf tracker if an event is lost.
2017-05-10 18:37:32 +02:00
Alban Crequy fc0e4490dd vendoring: update gobpf and tcptracer-bpf 2017-05-10 18:37:32 +02:00
Alfonso Acosta aec715653a Avoid null dereferences in ECS client (encore) 2017-05-10 16:25:32 +00:00
Alfonso Acosta 9d89e8b8d1 Merge pull request #2514 from weaveworks/2508-avoid-null-derreferences
Avoid null dereferences in ECS client
2017-05-10 17:45:58 +02:00
Alfonso Acosta 26eaadbbaa Avoid null dereferences in ECS client 2017-05-10 15:28:53 +00:00
Alfonso Acosta 7ef6ae0051 Merge pull request #2512 from weaveworks/2497-udpate-k8s-install-instructions
Update k8s installation instructions
2017-05-10 12:29:22 +02:00
Alfonso Acosta 0adfca647d Update k8s installation instructions 2017-05-10 10:18:34 +00:00
Marcus Cobden 860dfb7b7a Merge pull request #2504 from weaveworks/weavenet_metrics
Add weavenet metrics to billing emitter
2017-05-10 09:56:53 +01:00
Mike Lang d6c13088f0 Merge pull request #2506 from weaveworks/mike/k8s-filters/remove-on-container-subtopologies
api_topologies: Don't put namespace filters on containers-by-dns/image
2017-05-09 11:30:21 -07:00
Marcus Cobden 9fded9d34e Add weavenet metrics to billing 2017-05-09 15:33:12 +00:00
Marcus Cobden 5b6e5ca81d Update billing-client 2017-05-09 15:33:11 +00:00
Mike Lang e9788459e4 api_topologies: Don't put namespace filters on containers-by-dns/image
This should never have been added. The IsNamespace filter will always return false for these nodes.
It isn't even clear what this filter would mean, even if implemented, since those nodes don't map to a single
container and therefore not to a single namespace.
2017-05-08 13:14:19 -07:00
Filip Barl 10b276c28a Use prop-types library to silence PropTypes deprecation warning (#2498)
* Use prop-types library to fix the deprecation warning.

* Updated weaveworks-ui-components version.
2017-05-05 18:23:43 +02:00
Alfonso Acosta 5346a92a3e Merge pull request #2501 from weaveworks/2497-log-k8s-deployments-error
Log specific error when deployments are not supported
2017-05-05 16:00:16 +02:00
Filip Barl c897c18810 Display consistent resource consumption info in the resource view. (#2499) 2017-05-05 15:18:18 +02:00