Commit Graph

2065 Commits

Author SHA1 Message Date
Tom Wilkie
9eaac25d69 Don't merge nodes in the rendering pipeline 2016-05-03 15:18:31 +01: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
0456df9d0a Merge branch 'master' of github.com:weaveworks/scope 2016-05-03 13:46:14 +01:00
Paul Bellamy
c40f29caf2 cleaning up old todo 2016-05-03 13:45:54 +01:00
Tom Wilkie
731e156e9e Merge pull request #1415 from weaveworks/dont-join-ips-with-pause-containers
Don't attribute conntracked connections to k8s pause containers.
2016-05-03 12:59:28 +01:00
Paul Bellamy
0e70f70ffd Review feedback 2016-05-03 12:49:02 +01:00
Paul Bellamy
4187ea2107 fixing up tests 2016-05-03 12:49:00 +01:00
Paul Bellamy
02a0e752e3 fix up stats on sub-topologies 2016-05-03 12:47:26 +01:00
Paul Bellamy
fe853e3f0f filter out deleted pods when calculating available namespaces 2016-05-03 12:47:26 +01:00
Paul Bellamy
8758921215 pass nil for Noop a few other places 2016-05-03 12:47:26 +01:00
Paul Bellamy
2af2b1f15a Filter by Kubernetes Namespaces 2016-05-03 12:47:24 +01:00
Tom Wilkie
94b76b974e Merge pull request #1412 from weaveworks/1395-pause-container
Index Pods by UID and join with containers based on this.
2016-05-03 12:39:42 +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
Alfonso Acosta
3c707da9fb Merge pull request #1392 from weaveworks/ecs-docs
Add ECS instructions and badge to README
2016-05-03 11:15:50 +01:00
Alfonso Acosta
7bf3aacd4f Review: remove cloudformation badge 2016-05-03 09:00:44 +00:00
David
b1052c543d Merge pull request #1388 from weaveworks/redux
Migrate from Flux to Redux
2016-05-02 15:30:14 +02:00
David Kaltschmidt
2cfd3ffd46 Fix toggleHelp action, ignore moment locale (saves 100KB) 2016-05-02 15:26:31 +02: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
Paul Bellamy
eba1cce47b Merge pull request #1397 from weaveworks/perf
Pass nil for the decorator in the rendering pipeline when possible
2016-04-29 12:58:51 +01:00
Tom Wilkie
b4a59f6e36 Don't recursively gets stats beyond an ApplyDecorators decorator 2016-04-29 12:06:33 +01:00
Tom Wilkie
cf879b268e Aggressively pass nil for the decorator in the rendering pipeline to improve performance. 2016-04-29 11:42:33 +01:00
Paul Bellamy
0b9f78367d Merge pull request #1368 from weaveworks/k8s-delete-pod-service
Add pod delete controls
2016-04-29 11:02:55 +01:00
Tom Wilkie
3f4f9b70d1 Review feedback 2016-04-29 10:32:18 +01:00
Tom Wilkie
9b5ac56214 Review feedback 2016-04-29 10:31:24 +01:00
David Kaltschmidt
eed779abfa Replaced pure-render-mixin with redux connect
* does the same shallowEqual optimization
2016-04-28 20:20:58 +02:00
David Kaltschmidt
85939d1248 Add /dev.html page w/ full redux dev tools
* normal page wont have store instrumented to stay lean
* reshuffled vendor deps to balance bundle sizes
2016-04-28 20:00:42 +02:00
Alfonso Acosta
b8cd9ec57b Merge pull request #1391 from weaveworks/1380-k8s-checkpoint-flag
Add kubernetes checkpoint flag
2016-04-28 15:59: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
64450a4830 Merge pull request #1371 from weaveworks/1219-grouped-node-counts-2
Fixing grouped node count for filtered children nodes
2016-04-28 13:30:15 +01:00
Alfonso Acosta
3598532a4c Add kubernetes checkpoint flag 2016-04-28 11:31:55 +00:00
Alfonso Acosta
1545b00394 Bump vendor/github.com/weaveworks/go-checkpoint 2016-04-28 11:31:55 +00:00
Tom Wilkie
7631116ff5 Add explicity PathReplace middleware (#1393) 2016-04-28 12:28:44 +01:00
Paul Bellamy
3d3aed2bb3 Fixing grouped node count for filtered children nodes
Squash of:

* We have to keep all the container hostnames until the end so we can
  count how many we've filtered

* Adding tests for ContainerHostnameRenderer and PodServiceRenderer with
  filters

* Because we filter on image name we need the image name before
  filtering

* Alternative approach to passing decorators.

* Refactor out some of the decorator capture

* Don't memoise decorated calls to Render

* Fixing filtered counts on containers topology

  Tricky, because we need the filters to be silent sometimes (when they're
  in the middle), but not when they're at the top, so we take the "top"
  filter's stats. However, this means we have to compose all
  user-specified filters into a single Filter layer, so we can get all
  stats.

  There are no more Silent filters, as all filters are silent (unless they
  are at the top).

  Additionally, I clarified some of the filters as their usage/terminology
  was inconsistent and confused. Now Filter(IsFoo, ...) *keeps* only nodes
  where IsFoo is true.
2016-04-28 12:23:43 +01:00
David Kaltschmidt
df593b223a Upgrade to react 15.0.1 2016-04-28 11:55:07 +02:00
Alfonso Acosta
661185cb70 Use upstream helm k8s resources 2016-04-28 10:43:08 +01:00
Alfonso Acosta
bb972361bf Add ECS instructions and badge to README 2016-04-27 22:27:10 +00:00
David Kaltschmidt
96aae9bc99 Migrate from Flux to Redux
* better state visibility
* pure state changes
* state debug panel (show: crtl-h, move: ctrl-w)
2016-04-27 17:21:46 +02:00
Paul Bellamy
0f3b6bc497 Merge pull request #1381 from weaveworks/middleware
Add generic path rewrite middleware
2016-04-27 14:51:03 +01:00
Tom Wilkie
455b599074 Fix tracer build, ensure its built on circle. (#1387) 2016-04-27 12:15:04 +01:00
Tom Wilkie
e81b1b98e9 Add generic path rewrite middleware
And fix a bug in the logging middleware.
2016-04-26 14:43:48 +01:00
Paul Bellamy
3bfb8c4c85 Merge pull request #1356 from pidster/1355-add-swarm-to-system-containers
Add swarm-agent, swarm-agent master to sys container filters
2016-04-26 11:08:38 +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
Paul Bellamy
6c491c7ae8 Merge pull request #1377 from weaveworks/1322-probe-name-and-version
Report hostname and version in probe struct, and version in host node.
2016-04-26 10:48:04 +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
Tom Wilkie
0d2e2cda8f Detect if sudo is required by running 'docker info' 2016-04-26 09:25:09 +01:00
pidster
0c2e9347d0 remove prefix slash 2016-04-25 14:54:09 +01:00