Commit Graph

4727 Commits

Author SHA1 Message Date
Filip Barl
179f97160d Pick up default topology options on initial load. 2018-02-26 17:08:42 +01:00
Ilya Dmitrichenko
44076048ca Merge pull request #3084 from weaveworks/fix-2200
Add (cloud.)weave.works to the list of known services
2018-02-23 08:01:58 +00:00
Ilya Dmitrichenko
e024ab2d1f Add (cloud.)weave.works to the list of known services 2018-02-22 17:19:55 +00:00
Roland Schilter
6ddc57d047 Only modify document title if running standalone (#3071) 2018-02-20 18:16:04 +00:00
Bryan Boreham
6cc2026791 Merge pull request #3061 from weaveworks/dns-on-report
Move DNS name mapping from endpoint to report
2018-02-20 16:15:47 +00:00
Bryan Boreham
b5cdcb9a42 Move DNS name mapping from endpoint to report 2018-02-20 16:14:21 +00:00
Bryan Boreham
6674ff61e5 Fix incorrect comment 2018-02-20 16:14:20 +00:00
Filip Barl
b756042a96 Merge pull request #3068 from weaveworks/1861-prepare-dom-for-tours
Prepare DOM for Guided Tours
2018-02-20 16:37:23 +01:00
Bryan Boreham
ba32a400f7 Merge pull request #3077 from weaveworks/nodename-env
Read Kubernetes node name from environment
2018-02-19 18:46:10 +00:00
Bryan Boreham
04002f3287 Fix doc string for -probe.kubernetes 2018-02-19 17:41:32 +00:00
Bryan Boreham
dc1b768e73 Allow Kubernetes node-name to be set from env var
If we have the node-name then we can save work requesting the list of
local pods from kubelet.  And the best way to get the node name is via
the "downwards api", i.e. put this in the Daemonset Yaml:

        - name: KUBERNETES_NODENAME
          valueFrom:
            fieldRef:
              apiVersion: v1
              fieldPath: spec.nodeName
2018-02-19 17:31:04 +00:00
Filip Barl
a096c07cce Fix nodes grid row clickability in the tours. 2018-02-19 15:21:17 +01:00
Bryan Boreham
b742846835 Optimise processTopology() (#3074)
* Add a benchmark for processprocessTopology()

* Shortcut merging with an empty set

* Use more efficient apis to create process node
2018-02-19 10:13:58 +00:00
Bryan Boreham
f72ced3380 Add topology.ReplaceNode() for efficiency (#3073)
* Add topology.ReplaceNode() for efficiency

In some places AddNode() was called after adding to an existing node,
in which case the Merge() is just a waste of time.
2018-02-19 10:13:31 +00:00
Filip Barl
df8906d6c6 Extracted ViewModeButton into a separate component. 2018-02-19 10:55:29 +01:00
Filip Barl
3a00acbdc6 Use babel-plugin-transform-class-properties. 2018-02-19 10:55:29 +01:00
Filip Barl
1a6e49fd3d Added classNames to all the anchor DOM elements. 2018-02-19 10:55:29 +01:00
Matthias Radestock
474298c39c Merge pull request #3075 from weaveworks/no-return-topology-add
refactor: don't return receiver in Topology.AddNode()
2018-02-19 09:16:20 +00:00
Matthias Radestock
5b30b668ae refactor: don't return receiver in Topology.AddNode()
This had little use and was obscuring the mutating nature of
AddNode().
2018-02-19 05:10:04 +00:00
Bryan Boreham
c879cc65d3 Merge pull request #3062 from weaveworks/omitempty-idlist
Set 'omitempty' on Node Adjacency
2018-02-18 13:29:48 +00:00
Roberto Bruggemann
8bb79f0efc Merge pull request #3070 from weaveworks/monitor-flag
Disable detail panel link
2018-02-16 11:06:58 +00:00
Roberto Bruggemann
72255468c1 Disable detail panel link
The link is disabled if the `monitor` flag is not true.
If Weave Cloud runs without Monitor, the link is dead. The flag allows to pass Weave Cloud's Monitor state down to Scope.
2018-02-15 17:22:18 +00:00
Brice Fernandes
e106568dda Create README.md 2018-02-15 10:36:49 +00:00
Filip Barl
7f7d2d4964 Merge pull request #3066 from weaveworks/3015-dynamic-table-height
Relative positioning for Table view tables
2018-02-13 13:29:22 +01:00
Filip Barl
89c3e330f2 Use relative positioning of Table view tables. 2018-02-13 13:25:48 +01:00
Filip Barl
2101a28c36 Merge pull request #3065 from weaveworks/always-show-time-travel
Show Time Travel at all times in Weave Cloud
2018-02-13 11:54:54 +01:00
Filip Barl
dcb193d654 Addressed @foot's comments. 2018-02-13 11:51:37 +01:00
Filip Barl
165f3be2b4 Always show time travel. 2018-02-12 13:38:36 +01:00
Roberto Bruggemann
14f77fc0a8 Merge pull request #3060 from weaveworks/service-cpu-mem-link-to-monitor
Replace service cpu/mem link to 'Monitor'
2018-02-09 16:47:18 +00:00
Roberto Bruggemann
95a490da3a Service metrics: fix naming assumption
The link returned by service metrics is now built by looking up the deployment name in `report.Report` instead of assuming the service and the deployment have the same name.
2018-02-08 14:13:50 +00:00
Bryan Boreham
cb6edfeec1 Set 'omitempty' on Node Adjacency
Looks like an omission
2018-02-07 13:39:54 +00:00
Roberto Bruggemann
23f8d40355 Replace service cpu/mem link to 'Monitor'
The previous link to 'Monitor' contained a recording rule metric, and since not all Weave Clound instances have recording rules, the link would redirect to a 'Monitor' page without data points.
The recording rule metric has been substituted with the underlying query.
2018-02-07 13:11:01 +00:00
Simon
8ac481137e Merge pull request #3054 from weaveworks/only-show-image-status-on-controllers
Fixes bug showing "container image status" on all resource types
2018-02-06 09:22:17 +01:00
Matthias Radestock
20c57134c1 Merge pull request #3052 from weaveworks/3051-gke-perms
revamp install instructions
2018-02-05 15:18:36 +00:00
Matthias Radestock
7e807175d9 link to k8s instructions from openshift instructions 2018-02-05 14:44:24 +00:00
Matthias Radestock
a855358901 remove some references to 'standalone' mode
since _all_ the instructions refer to that.
2018-02-05 14:44:24 +00:00
Matthias Radestock
be1445bcb6 revamp installation instruction structure 2018-02-05 14:44:24 +00:00
Matthias Radestock
5ffd0a841b clarify the difference between standalone and Weave Cloud install 2018-02-05 14:44:24 +00:00
Matthias Radestock
07aaee2294 add GKE instructions 2018-02-05 14:44:24 +00:00
Matthias Radestock
a5ed279c15 tweak k8s instructions 2018-02-05 14:44:24 +00:00
Matthias Radestock
a2b78e223d extol more Weave Cloud goodness 2018-02-05 14:44:24 +00:00
Matthias Radestock
0de93e4584 cosmetic: remove trailing whitespace 2018-02-05 14:44:24 +00:00
Matthias Radestock
cf8019333f consolidate Weave Cloud instructions
The instructions for installing via Weave Cloud were rather out of
date, and in any case are embedded in Weave Cloud itself, so there is
no point repeating them here.
2018-02-05 14:44:24 +00:00
Roberto Bruggemann
ec3fa4de50 Merge pull request #3055 from weaveworks/release-1.7
Release 1.7.3
2018-02-05 14:37:45 +00:00
Roberto Bruggemann
b3572d1f30 Update scope version in docs to 1.7.3 v1.7.3 2018-02-05 13:59:40 +00:00
Roberto Bruggemann
f6af3f6591 Add release 1.7.3 to CHANGELOG 2018-02-05 13:59:36 +00:00
Roberto Bruggemann
ca95703033 Merge pull request #3050 from weaveworks/async-reflectors
Create reflectors asynchronously
2018-02-05 13:12:01 +00:00
Roberto Bruggemann
37771a0607 Create reflectors asynchronously
Reflectors are created and run within the same function, asynchronously from the main thread.
Creating reflectors may require calls to the kubernetes api, which can return errors.
API errors are not handled in the main thread, but are handled asynchronously by retries.
2018-02-05 12:01:59 +00:00
Simon Howe
d5829f21cb Fixes bug showing "container image status" on all resource types
- It should only be visible on the kubernetes contoller node-details
  panels.
- This fixes a bug where we were showing it on all node-details if you
  were on the controller topology.
2018-02-05 11:45:13 +01:00
Roberto Bruggemann
35d97bc2bd Merge pull request #3048 from weaveworks/release-1.7
Release 1.7.2
2018-02-02 11:31:44 +00:00