Commit Graph
806 Commits
Author SHA1 Message Date
Alfonso Acosta a6f8b0a0c6 Add probe version header to probe requests 2016-06-08 13:49:21 +00:00
Simon Howe 05ce661c19 Gets go-tests passing! 2016-06-06 16:24:18 +02:00
Peter Bourgon e0fab36351 Re-sync container on network dis/connect 2016-06-06 16:24:03 +02:00
Peter Bourgon 10ced2d09d First cut of network data 2016-06-06 16:24:02 +02:00
Paul Bellamy 85aee27ef6 If k8s objects only have one container, show that container's metrics on them (#1473) 2016-06-04 08:03:51 +01:00
Tom Wilkie 277bd70491 Don't every store NEW conntrack flows (only every store updates). (#1541)
This closes a small window where we might produce reports which contain flows that are NEW but have never seen an UPDATE, which can potentially be invalid.
2016-05-27 11:25:42 +01:00
Alban Crequy 42ad3aa12b Scope slow: improve error messages for debugging (#1534)
* alpine: dl-4.alpinelinux.org is dead, use another server

* increase buffer for docker stats

Attempt to avoid the following message:
docker container: dropping stats.

* probe: better timeout error messages

The logs contains the following messages:

Process reporter took longer than 1s
K8s reporter took longer than 1s
Docker reporter took longer than 1s
Endpoint reporter took longer than 1s

This patch prints how long it takes.
2016-05-22 18:21:55 +01:00
Tom Wilkie 8f772a696d Add flag to disable reporting of processes (and procspied endpoints) 2016-05-17 17:29:09 +01:00
Tom Wilkie 310adc0d09 Fast start the dns resolution ticker to improve first report latency. 2016-05-16 11:19:57 +01:00
Alfonso Acosta 1e63d7a23d Add local networks for each k8s service (#1490) 2016-05-12 17:05:22 +01:00
Tom Wilkie 23c5e9f820 Ignore conntracked connections on which we never saw an update; don't nat map conntracked connections. (#1466) 2016-05-11 15:30:45 +02:00
Paul Bellamy 743cf80f92 Disable deployments and replica sets if k8s is 1.1 2016-05-11 11:19:15 +01:00
Paul Bellamy 291c9afe58 Add scale up/down controls on deployments, replica sets, and replication controllers (#1451) 2016-05-10 12:43:52 +02:00
Alfonso Acosta b78c503004 Review feedback 2016-05-10 08:03:46 +00:00
Alfonso Acosta e83f985ea6 Precompute base of the container nodes 2016-05-10 06:25:06 +00:00
Paul Bellamy 541699d193 Review Feedback 2016-05-09 09:19:11 +01:00
Paul Bellamy 16a5c738d9 Deployment and ReplicaSet views for k8s 2016-05-09 09:03:57 +01:00
Paul Bellamy 0178babb0e Index services by UID, and refactor out common k8s metadata handling 2016-05-09 09:03:56 +01:00
Alfonso Acosta f34fc2a4df Merge pull request #1410 from weaveworks/1408-dnat-shortlived-connections
Correctly attribute DNAT-ed short-lived connections
2016-05-05 19:37:35 +01:00
Tom Wilkie fc60b9308e Merge pull request #1433 from weaveworks/1373-kube-dns
Have probe query kube dns to find the app.
2016-05-05 16:02:40 +01:00
Tom Wilkie 9b8f8a6c83 Have probe query kube dns to find the app. 2016-05-05 15:19:44 +01:00
Tom Wilkie 55069609e1 Show Pod IP and # container in the children table in details panel. 2016-05-05 13:33:49 +01:00
Alfonso Acosta d1ea4aa6f8 Fix tests 2016-05-04 16:36:37 +00:00
Tom Wilkie 91339aeae0 Detect pause containers correctly 2016-05-04 17:17:42 +01:00
Alfonso Acosta 4140d288a8 Don't scope docker IPs in Kubernetes 2016-05-04 14:50:22 +00:00
Alfonso Acosta b1836acb62 Only add DNAT'ed addresses for short-lived connections 2016-05-04 14:48:48 +00:00
Alfonso Acosta 1f825c52ff Correctly attribute DNAT-ed short-lived connections 2016-05-04 14:48:47 +00:00
Paul Bellamy 57bc6f7c90 Merge pull request #1386 from weaveworks/1340-k8s-filter-namespace
Filter by Kubernetes Namespaces
2016-05-03 13:48:22 +01:00
Paul Bellamy 4187ea2107 fixing up tests 2016-05-03 12:49:00 +01:00
Paul Bellamy 2af2b1f15a Filter by Kubernetes Namespaces 2016-05-03 12:47:24 +01:00
Tom Wilkie 1c5f0ac041 Don't attribute conntracked connections to k8s pause containers. 2016-05-03 12:04:08 +01:00
Tom Wilkie 1c74dc2c05 Review feedback 2016-05-03 11:51:51 +01:00
Tom Wilkie 8395c3ca4b Index Pods by UID and join with containers based on this. 2016-05-03 11:51:51 +01:00
Tom Wilkie 02554b1dcd Propagate network info for containers sharing network namespaces (#1401)
- Add armon/go-radix library, use this to find containers by prefix
- Deal with host net namespace in the same way
2016-04-29 18:13:55 +01:00
Paul Bellamy a81b116672 Merge pull request #1409 from weaveworks/1396-pod-ip
Show Pod IP in details panel.
2016-04-29 14:49:39 +01:00
Tom Wilkie e917dd61a8 Show Pod IP in details panel. 2016-04-29 13:34:31 +01:00
Tom Wilkie cb52acbc46 Add pod delete control
- Push shortcut reports when pods are created/deleted
- Buffer upto 2 reports instead of dropping them
2016-04-28 14:48:05 +01:00
Paul Bellamy 9adbfa9f50 Merge pull request #1378 from weaveworks/1343-k8s-external-ip
Show the k8s load balancer IP if it is set
2016-04-26 11:08:11 +01:00
Tom Wilkie b05ef74552 Report hostname and version in probe struct, and version in host node. 2016-04-26 09:25:15 +01:00
Paul Bellamy d559a6c160 Show the k8s load balancer IP if it is set 2016-04-25 14:45:53 +01:00
Paul Bellamy a374ad334a Don't show container labels on container images
Images have their own labels. We can still use the container labels for
filtering, as the filters are "System Containers", not "System Images".
2016-04-25 10:32:33 +01:00
Paul Bellamy 1539e668e7 Merge pull request #1290 from weaveworks/remove-container-control
Add control for removing stopped docker containers.
2016-04-22 14:13:40 +01:00
Paul Bellamy a4e68b9598 Merge pull request #1363 from weaveworks/1072-docker-rm
Immediately remove deleted containers from the UI.
2016-04-22 10:29:14 +01:00
Tom Wilkie 8b06f6c0d8 Add rank field to controls. 2016-04-21 18:05:48 +01:00
Paul Bellamy c4d4514278 Merge pull request #1359 from weaveworks/1121-reverse-resolution
Use reverse-resolved DNS info in the connections table.
2016-04-21 17:53:10 +01:00
David Kaltschmidt 62ed88cf16 Close details panel when node was removed via control 2016-04-21 18:34:51 +02:00
Tom Wilkie ed555b6780 Add 'closeDetails' field to control responses. 2016-04-21 16:40:21 +01:00
Tom Wilkie 65dbca997c Add control for removing stopped docker containers. 2016-04-21 16:24:41 +01:00
Tom Wilkie 66868eb946 Add test for rm'd containers 2016-04-21 13:51:20 +01:00
Tom Wilkie 99204e1ff7 Add k8s pod log control (#1298)
* Remove individually vendored k8s.io/kubernetes/pkg/<foo>

* Vendor the whole of vendor/k8s.io/kubernetes/pkg

* Add k8s pod log control

* Tag pods with host id and include them in the host topology as children.

* adding a basic test for kubernetes.Reporter.GetLogs
2016-04-21 13:48:50 +01:00