Commit Graph

4163 Commits

Author SHA1 Message Date
Mike Lang
c149e5792a k8s probe: Fix a panic (nil pointer deref) when a cronjob has never been scheduled
in which case cj.Status.LastScheduled is nil.
New behaviour is to omit it from the map (and therefore the display) if it has never been scheduled.
2017-08-01 14:14:44 -07:00
Elena Morozova
0c692ceaca Merge pull request #2782 from weaveworks/test
service-ui-kicker-test
2017-08-01 13:25:44 -07:00
Elena Morozova
05f6b3bd48 service-ui-kicker-test 2017-08-01 13:24:08 -07:00
Filip Barl
9ea66266f3 Adjust timeline zoom sensitivity on Firefox (#2777)
* Adjust Firefox zoom sensitivity.

* Animate zooming to make it appear smoother (especially on Firefox).

* Debounced zoom tracking.

* Addressed the comments.
2017-08-01 17:36:46 +02:00
Matthias Radestock
1e38e78518 Merge pull request #2779 from weaveworks/2748-synthesise-service-network
synthesise k8s service network from service IPs

Fixes #2748.
2017-08-01 13:17:27 +01:00
Filip Barl
f9e9a8ae4d Shrink timeline height and make years fade out (#2778)
* Shrink timeline height to 55px and make years fade out as hours fade in.

* Address the comments.
2017-08-01 14:17:03 +02:00
Matthias Radestock
4dae7edc9c synthesise k8s service network from service IPs
This prevents cluttering host.LocalNetworks with lots of /32
addresses. These were unsightly and rather distracting in the UI. They
also bloated the report and slowed down server-side rendering.

Fixes #2748.
2017-08-01 12:17:50 +01:00
Filip Barl
bc7ad7a78a Always take timestamp into account in Node Details when time travelling (#2775) 2017-08-01 12:40:08 +02:00
Matthias Radestock
2c63206525 Merge pull request #2771 from weaveworks/realclean
add 'realclean' make target to clear out container images
2017-07-31 20:58:46 +01:00
Matthias Radestock
7732d4e902 Merge pull request #2772 from weaveworks/no-endpoint-type
get rid of endpoint type indicators
2017-07-31 14:23:30 +01:00
Matthias Radestock
feb7e4b5a4 Merge pull request #2774 from weaveworks/2607-historic-reports-capability
rename 'report_persistence' capability to 'historic_reports'
2017-07-31 14:22:55 +01:00
Ilya Dmitrichenko
12028fb950 Fix a typo 2017-07-31 12:16:53 +01:00
Matthias Radestock
1f95e3efd4 obtain historic_reports capability from Reporter 2017-07-31 09:58:31 +01:00
Matthias Radestock
160ba8efa0 rename 'report_persistence' capability to 'historic_reports'
since that better captures the intent - the UI doesn't care about
reports get stored, but what reports it can retrieve.
2017-07-31 09:31:46 +01:00
Filip Barl
d7c1bfb035 Hide Service UI Configure button only in Scope. (#2766) 2017-07-31 09:50:05 +02:00
Matthias Radestock
9457468362 remove checks for ebpf'ness in integration tests
since probes no longer supply that info
2017-07-30 10:33:29 +01:00
Matthias Radestock
e77d40fc16 refactor: inline connectionTracker.performFlowWalk 2017-07-30 09:23:41 +01:00
Matthias Radestock
b93b19a7c7 refactor: simplify connection polarity reversal 2017-07-30 08:48:13 +01:00
Matthias Radestock
65cebed6c4 get rid of endpoint type indicators
The app stopped paying attention to these some time ago.

Removing them shrinks reports by 3-10%.
2017-07-30 08:38:56 +01:00
Matthias Radestock
2cd8b3388f add 'realclean' make target to clear out container images
...and use that in bin/release, so that we don't build releases with
ancient images.
2017-07-30 07:16:39 +01:00
Mike Lang
a136af2e25 Merge pull request #2767 from weaveworks/release-1.6
Release 1.6.1
2017-07-28 17:17:20 -07:00
Mike Lang
5744191da4 Update links for 1.6.1 v1.6.1 2017-07-28 16:56:33 -07:00
Mike Lang
35024e838e CHANGELOG: Update for 1.6.1 2017-07-28 16:55:47 -07:00
Roland Schilter
c3c23d7dd1 Add test for pods number not updating (#2741)
* Fix distance test for single node

* Add test for pods number not updating labels
2017-07-28 17:13:41 +02:00
Matthias Radestock
856fe13b46 Merge pull request #2765 from weaveworks/release-1.6
refactor: remove duplication
2017-07-28 14:51:30 +01:00
Matthias Radestock
e954cb8328 refactor: remove duplication 2017-07-28 14:48:39 +01:00
Matthias Radestock
43b60ef2db Merge pull request #2763 from weaveworks/release-1.6
push release images to quay.io

Fixes #2762.
2017-07-28 14:16:31 +01:00
Matthias Radestock
561a2118cf push release images to quay.io
Fixes #2762.
2017-07-28 14:13:05 +01:00
Alfonso Acosta
b0ae4c0de0 Merge pull request #2761 from weaveworks/2259-add-pod-restart-count
Add pod restart count to details pane
2017-07-27 23:14:14 +02:00
Mike Lang
4d2878cbe6 Merge pull request #2758 from weaveworks/release-1.6
Release branch for 1.6.0
2017-07-27 12:58:47 -07:00
Alfonso Acosta
3e4b3cbbf5 Add pod restart count to details pane 2017-07-27 13:15:53 +00:00
Filip Barl
2183a93916 Time Travel 3.0 (#2703)
* Experimental.

* Getting somewhere.

* Good zooming behaviour.

* Working timeline zooming & panning.

* Clickable timestamps.

* Dragging cursor

* Timeline panning buttons.

* Capping at current time.

* Scale limits.

* Better ticks.

* Time tags fading in smoothly.

* Removed seconds.

* Better tick spacing.

* Vertical panning as zooming.

* Organizing the code..

* Replaced d3-zoom with native events.

* Got rid of scaleX

* More code beautified.

* Almost done polishing the code.

* Some cleanup.

* Better request triggers.

* More cleaning up.

* Styled the timestamp input.

* Final cleanup.

* Update yarn.lock

* Zoom tracking.

* Animate timeline translations.

* Fixed the PAUSE button glitch and updating the time control info.

* Opacity fix and timeline arrows removed.

* Fixed the red vertical bar.

* Use preventDefault() on timeline scrolling.
2017-07-27 14:40:20 +02:00
Mike Lang
a608f600fc Update version references v1.6.0 2017-07-26 16:13:43 -07:00
Mike Lang
e9228ed444 Changelog for 1.6.0 2017-07-26 16:12:54 -07:00
Mike Lang
7e38069fc7 Merge pull request #2757 from weaveworks/mike/k8s/rename-daemonset
k8s: Use 'DaemonSet', 'StatefulSet' etc instead of 'Daemon Set', 'Stateful Set'
2017-07-26 15:20:07 -07:00
Mike Lang
486bdcc796 k8s: Use 'DaemonSet', 'StatefulSet' etc instead of 'Daemon Set', 'Stateful Set'
We can't search for terms with spaces.
2017-07-26 13:49:54 -07:00
Matthias Radestock
6c4efbb944 refactor: reduce number of args 2017-07-26 20:41:29 +01:00
Matthias Radestock
3ab48bcdbe Merge pull request #2756 from weaveworks/2464-maximize-timeout
maximize report publishing timeout

Fixes #2464.
2017-07-26 11:41:48 +01:00
Matthias Radestock
d9705bc670 Merge pull request #2746 from weaveworks/2745-do-not-backoff-on-timeout
do not back off on timeouts when sending reports

Fixes #2745.
2017-07-25 22:26:28 +01:00
Matthias Radestock
d8c747ef20 downgrade "Dropping report" log message to warning
It indicates degraded functionality, not catastrophe.
2017-07-25 21:29:18 +01:00
Matthias Radestock
935f6e6c20 maximize report publishing timeout
If the app really does take a long time to process reports, it is
better not to time out and send it more reports. However, we do want
to send at least one report per app.window, otherwise the scope UI
will go blank.

Fixes #2464 (as much as is practically possible)
2017-07-25 21:20:39 +01:00
Matthias Radestock
a5a9180605 do not back off on timeouts when sending reports
...since doing so unnecessarily throttles report sending, to the point
where the app is receiving reports so infrequently that often it has
no data to show.

The timeout period itself is sufficient to prevent thrashing.

Fixes #2745.
2017-07-25 21:16:35 +01:00
Elena Morozova
142d8bead5 Merge pull request #2755 from weaveworks/reverttest
Revert "Test service-ui-kicker"
2017-07-25 11:24:49 -07:00
Elena Morozova
43197dd118 Revert "Test service-ui-kicker"
This reverts commit d1b76a5de9.
2017-07-25 11:23:55 -07:00
Elena Morozova
b05e96c5ec Merge pull request #2754 from weaveworks/test
Test service-ui-kicker
2017-07-25 10:39:21 -07:00
Elena Morozova
d1b76a5de9 Test service-ui-kicker 2017-07-25 10:38:30 -07:00
Filip Barl
8f1fdeb477 Make Resource view nodes clickable (#2679)
* Made Resource view nodes clickable.

* Remove selection when clicking on the background.

* Use opacity instead of the blue overlay for selected nodes.
2017-07-25 17:46:17 +02:00
Matthias Radestock
a50c290079 Merge pull request #2743 from weaveworks/2738-prefer-full-reports
new full reports are more important than old and shortcut reports

Fixes #2738.
2017-07-25 15:17:59 +01:00
Matthias Radestock
ea85296476 Merge pull request #2739 from weaveworks/bump-default-conntrack-buffersize
increase default conntrack buffer size
2017-07-25 13:21:15 +01:00
Elena Morozova
518a0e2683 Merge pull request #2744 from weaveworks/revert-test
Revert "Test service-ui-kicker"
2017-07-24 16:59:54 -07:00