Commit Graph

4781 Commits

Author SHA1 Message Date
Satyam Zode
2f69973de6 Add adjacencies for kubernetes storage components
- Kubernetes storage components such as PV and PVC are connected based on two
parameters Persistent volume claim name and Persistent Volume name.
- PVC contains the volume name which is, PV name itself. Hence, we can
show edge for PVC and PV.
- This will bring higher level visibility for kubernetes storage components.

Signed-off-by: Satyam Zode <satyam.zode@openebs.io>
2018-06-07 17:04:56 +05:30
Satyam Zode
23210a6a77 Add Kubernetes volumes support in Weave Scope
This will

- Add Kubernetes volume resources such as PV, PVC.
- Add shapes for Kubernetes PV and PVC
- Add `Cylinder` shape for PV and `Dotted Cylinder` shape for PVC.

Signed-off-by: Satyam Zode <satyam.zode@openebs.io>
2018-06-07 17:01:29 +05:30
Matthias Radestock
805572d70e refactor: inline single-use constant 2018-04-02 13:50:22 +01:00
Matthias Radestock
e852b18e42 refactor: remove unused constant 2018-04-02 13:48:29 +01:00
Matthias Radestock
fd3ac19c02 refactor: remove dead code 2018-04-02 13:27:51 +01:00
Matthias Radestock
3a8cad1803 Merge pull request #3126 from weaveworks/3083-no-failed-pods
don't show Failed pods

Fixes #3083.
2018-04-02 11:49:10 +01:00
Matthias Radestock
feae4f4fcf don't show Failed pods
these are not alive, and Scope generally only shows the living, not
the dead.
2018-04-02 11:03:25 +01:00
Matthias Radestock
27fb3571e1 refactor: remove StateDeleted from map keys
since it is a map value, not a key.
2018-04-02 11:03:01 +01:00
Filip Barl
3090cdcfe5 Merge pull request #3124 from weaveworks/bump-ui-components-to-0-4-48
Bump ui-components
2018-03-28 16:43:16 +02:00
Filip Barl
9f0b359199 Bump ui-components to v0.4.49 2018-03-28 12:18:09 +02:00
Filip Barl
7838f3063b Bump ui-components to v0.4.48 2018-03-28 11:42:58 +02:00
Matthias Radestock
012ee77b20 Merge pull request #3121 from weaveworks/3113-shortcut
make shortcut reports work (again)
2018-03-25 12:43:34 +01:00
Matthias Radestock
076acdb319 send shortcut reports on all container state changes
This got broken in cec750049f.
2018-03-25 09:08:45 +01:00
Matthias Radestock
eaafe4db6f copy Shortcut property in Report.Copy()
This was causing shortcut reports to be delivered as normal reports.

This got broken in 0ecb908c22, when Report.BackwardCompatible(),
which does a Copy(), was introduced in the publishing path.

Fixes #3113.
2018-03-25 09:02:36 +01:00
Filip Barl
5f8da6d077 Merge pull request #3116 from weaveworks/3115-enforce-theme-colors
Enforce theme colors
2018-03-22 15:51:43 +01:00
Roland Schilter
a5b4b7c4ca Fix eslint error 2018-03-21 11:31:42 -07:00
Sidney Wijngaarde
b22b3d6784 Adds link datatype to ui (#3105) 2018-03-21 10:41:38 -07:00
Filip Barl
109bc21b57 Add styled components linting. 2018-03-21 16:01:15 +01:00
Filip Barl
631077b68a Use colors from ui-components theme. 2018-03-21 15:49:52 +01:00
Filip Barl
3d55b23d1b Bump ui-components to v0.4.42 2018-03-21 15:20:59 +01:00
Filip Barl
cdb3b99712 Include .sass-lint.yml in Dockerfile. 2018-03-21 15:18:30 +01:00
Filip Barl
f12146042c Simplified internal Scope color variables. 2018-03-21 12:29:49 +01:00
Filip Barl
6152ac0a4d Got rid of all rgba colors. 2018-03-21 12:01:27 +01:00
Filip Barl
e1a5dc6700 Linked all non-rgba colors. 2018-03-21 11:47:25 +01:00
Filip Barl
4601988ab5 Organized some variable names. 2018-03-21 11:23:40 +01:00
Filip Barl
80dd318c86 Add stylesheets linting. 2018-03-21 10:39:54 +01:00
Roland Schilter
3de06b5a09 Support controls in more k8s topologies (#3110)
* Refactor: func has already access to probeID

* Allow controls for more k8s topologies

Controls for nodes generally need to know about the probe that is in
control of them.

This PR appends the probe ID info to k8s topologies CronJob, DaemonSet,
Service, and StatefulSet. Therefore allowing plugins to append controls.

* Remove superfluous error check

* Add some tests to verify controls allowance
2018-03-16 12:39:57 -07:00
Bryan Boreham
da6995bd87 Merge pull request #3109 from weaveworks/release-1.8
Release 1.8
2018-03-12 15:43:29 +00:00
Bryan Boreham
00868097c8 Add release 1.8.0 v1.8.0 2018-03-12 15:05:22 +00:00
Bryan Boreham
a709163349 Merge pull request #3056 from weaveworks/save-codegen
Save codegen output as CI artifact
2018-03-12 11:44:38 +00:00
Filip Barl
7bfd363b84 Merge pull request #3102 from weaveworks/3101-bump-moment-js-dep
Bump moment.js & ui-components deps
2018-03-07 11:48:06 +01:00
Filip Barl
90caf5b016 Bump ui-components to v0.4.36 2018-03-07 11:00:43 +01:00
Filip Barl
ea414c148f Bump moment.js to v2.21.0 2018-03-07 11:00:09 +01:00
Filip Barl
6f72ef6969 Merge pull request #3097 from weaveworks/1999-fix-default-topology-options-filtering
Pick up default topology options on initial load
2018-02-27 21:08:07 +01:00
Roberto Bruggemann
d6c2e96e34 Dispatch 'Monitor' flag render function (#3072)
Adds update of monitor availability when it appears/disappears.
The constructor is only called once at the beginning.
2018-02-26 22:50:58 +00:00
Filip Barl
179f97160d Pick up default topology options on initial load. 2018-02-26 17:08:42 +01:00
Matthias Radestock
c9d9068f68 Merge pull request #2399 from weaveworks/big-roundtrip
Add a test that checks if reports with data round-trip
2018-02-26 13:44:22 +00:00
Matthias Radestock
306a744189 Merge pull request #3095 from weaveworks/blank-latestmap-insert
Blank out value on LatestMap decode insert
2018-02-26 13:43:40 +00:00
Matthias Radestock
adc46e84e8 Merge pull request #3094 from weaveworks/remove-getchildren
Remove unused process tree function GetChildren()
2018-02-26 13:43:29 +00:00
Matthias Radestock
a6ac66566d Merge pull request #3093 from weaveworks/simplify-docker-tagger
More efficient docker Tagger
2018-02-26 13:43:13 +00:00
Bryan Boreham
262cea2797 More efficient docker Tagger
Augment existing node rather than creating a new one then merging it,
and avoid creating a set with one entry.
2018-02-26 12:43:00 +00:00
Bryan Boreham
f44f8806cd Add a test that checks if reports with data round-trip
Previously the only roundtrip test was for an empty report.
This test has fake data similar to that found in real reports.
'Metrics' does not round-trip exactly, so a DeepEqual workaround is
added for that.
2018-02-26 10:52:50 +00:00
Bryan Boreham
6593720472 Merge pull request #3080 from weaveworks/stop-polling-k8s
Remove flag -probe.kubernetes.interval and stop re-syncing Kubernetes data
2018-02-26 10:43:43 +00:00
Bryan Boreham
95359a70d0 Merge pull request #3091 from weaveworks/omit-empty-networks
Exclude null entries for networks on container nodes in probe report
2018-02-26 10:43:13 +00:00
Bryan Boreham
35d3e32744 Merge pull request #3090 from weaveworks/more-service-info
Add Kubernetes service type and ports
2018-02-26 10:42:57 +00:00
Bryan Boreham
f17640646e Blank out value on LatestMap decode insert
Fixing a rare case that came up in a test. In order for this to cause
a problem, the data being decoded has to have entries out of order,
and have a value that is nil or omitted.
2018-02-26 10:34:53 +00:00
Filip Barl
cb54e0e5f5 Merge pull request #3088 from weaveworks/1861-explicit-tour-step-anchor-class-names
Add explicit tour-step-anchor classNames to Explore tour elements
2018-02-26 10:17:13 +01:00
Bryan Boreham
c06429b92a Remove unused process tree function GetChildren() 2018-02-26 08:54:31 +00:00
Bryan Boreham
64570f1311 Add Kubernetes service type and ports 2018-02-24 14:58:13 +00:00
Bryan Boreham
3941424794 Don't add null entries to container nodes for networks
or the "none" network, which is a special case meaning none.
2018-02-23 18:09:18 +00:00