Commit Graph

75 Commits

Author SHA1 Message Date
Bryan Boreham
c0b2690679 Release 1.10.2 2019-02-12 16:21:58 +00:00
Bryan Boreham
ad3a063a12 Release 1.10.1 2018-11-23 13:49:03 +00:00
Bryan Boreham
dc15123093 Release 1.10 2018-11-22 13:07:52 +00:00
Simon Howe
d3a36cf873 Load up fa5 instead of 4
- Switch to fa5 icons and tweak font-sizes a bit
2018-11-13 12:51:31 +01:00
Simon
e78f8a8de4 Revert "Upgrade to Font Awesome 5" 2018-11-12 11:22:19 +01:00
Simon Howe
2cc58f5b00 Switch to fa5 icons and tweak font-sizes a bit 2018-11-09 14:59:53 +01:00
Akash Srivastava
296c6f2ab5 Fix issues in k8s yaml files (#3403)
- Change apigroups to apiGroups in cluster-role.yaml
- Change resourcenames to resourceNames in cluster-role.yaml
- Add selector in deploy.yaml and ds.yaml

Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io>
2018-10-26 11:19:52 +05:30
Akash Srivastava
5b8a8c9f56 Merge branch 'master' into volume-snapshot 2018-10-17 23:36:09 +05:30
Akash Srivastava
bc550e8e1d Add rules in clusterrole for k8s snapshot components
This will add rules to cluster role for k8s snapshot components.
These RBAC permissions are required for scope to fetch details about
volumesnapshots and volumesnapshotdata resources.

Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io>
2018-10-17 17:53:47 +05:30
Julien Garcia Gonzalez
cea74c6280 example k8s: add support for PodSecurityPolicy
This add a psp file with needed right to work on kubernetes.

Signed-off-by: Julien Garcia Gonzalez <julien@giantswarm.io>
2018-09-26 11:20:41 +02:00
Damien Lespiau
1a24894c23 Fix the CRI volumeMount name in the example manifest
volumeMounts need to refer to an existing volume name to be successfully
mounted. cri-socket is the defined volume name.
2018-08-08 15:30:41 +01:00
Satyam Zode
4dfa4acfe7 Add rules in cluster role for k8s storage components
This will add rules to cluster role for k8s storage components.
These RBAC permissions are required for scope to fetch details about PV, PVC, SC
resources.

Signed-off-by: Satyam Zode <satyamzode@gmail.com>
2018-07-28 00:26:07 +05:30
Lili Cosic
55c3f8006d Add example for cri-o
cri-o was used as an example as it is relatively easy to setup a cluster
using that container runtime as compared to others.
2018-07-26 10:52:08 +01:00
Adam Harrison
8b1f8242f2 Pass node name via correct env var 2018-06-14 15:05:51 +01:00
Tasdik Rahman
eb849432a1 examples: k8s: added manifest for scope deployment
- closes https://github.com/weaveworks/scope/issues/3153
2018-05-02 17:39:26 +05:30
Alfonso Acosta
1c56b536a3 Fix examples too 2017-01-20 14:41:36 +00:00
Alessandro Puccetti
655e6677cc docs/plugins: sync docs with changes site changes
This patch applies the same changes from the review of
https://github.com/weaveworks/scope/pull/2008
2016-11-14 15:56:17 +01:00
Alessandro Puccetti
953548d833 docs/plugins: add volume count plugin
A new plugin was added to the weaveworks plugins organization,
this patch exposes it into the scope documentation.
2016-11-14 10:56:38 +01:00
Alessandro Puccetti
e9e3b5d5c0 docs/plugins: Refactoring
The plugins README now points to the new repositories in the weaveworks-plugins
organization (https://github.com/weaveworks-plugins).
2016-11-14 10:56:37 +01:00
Alessandro Puccetti
af901c5dac plugins: remove plugins
They now are in the weaveworks-plugins organization.
https://github.com/weaveworks-plugins

- http-request has been updated and renamed to http-statistics:
https://github.com/weaveworks-plugins/scope-http-statistics
- iowait: https://github.com/weaveworks-plugins/scope-iowait
- traffic-control: https://github.com/weaveworks-plugins/scope-traffic-control
2016-11-14 10:56:37 +01:00
Alessandro Puccetti
22ad25b312 plugins/http-requests: change plugin id
Change the ID from `http_requests` to `http-requests`.
The new plugin ID convention does not allow `_`.
2016-09-19 18:08:20 +02:00
Alessandro Puccetti
66390c8b0e circleci: push traffic control plugin image to docker hub
After this patch, circleci builds the traffic control plugin image and
pushes it on docker hub. Rename traffic control plugin docker image
to "weaveworks/scope-traffic-control-plugin".
2016-09-12 15:47:28 +02:00
Alessandro Puccetti
f2c2ce9d33 plugins/traffic-control/docker: integrate loopIteration() into Start()
Move `loopIteration()` code in an anonymous function inside `Start()`.
2016-09-09 13:57:21 +02:00
Alessandro Puccetti
10d33fb24f plugins/traffic-control: fix output for getStatus()
If `tc qdisc show dev eth0` returns an error, then output is set to empty string.
2016-09-09 13:57:21 +02:00
Alessandro Puccetti
deea4d9af1 plugins/traffic-contorl: fix error message in getNSID
Return error message that show what fails and why.
2016-09-09 13:57:21 +02:00
Alessandro Puccetti
097225332a plugins/traffic-control: switch to http.ServeMux
It is nicer to instantiate a http.ServeMux, instead of modifying
the global http handler.
2016-09-09 13:57:21 +02:00
Alessandro Puccetti
3bd6e4c88d plugins/traffic-control: fix Makefile 2016-09-09 13:14:24 +02:00
Alessandro Puccetti
c722edf534 plugins/traffic-control: export trafficControlStatus
Rename trafficControlStatus to TrafficControlStatus, because lint complains.
2016-09-09 13:14:24 +02:00
Alessandro Puccetti
01b6bc5be6 plugins/traffic-contorl: split DoTrafficControl()
For clearer code `DoTrafficControl()` is splitted in multiple functions.
2016-09-09 13:14:24 +02:00
Alessandro Puccetti
f6708503f0 plugins/traffic-control: add helper functions to trafficControlStatus
SetLatency and SetPacketLoss handle the empty value that is represented by "-".
2016-09-09 13:14:24 +02:00
Alessandro Puccetti
00a87922e6 plugins/traffic-control: code refactoring
Substitute `split()` with `strings.Fileds()`.
Remove unnecessary functions and commented code.
Unabbreviate variable and function names.
2016-09-09 13:14:24 +02:00
Alessandro Puccetti
9b86143deb plugins/traffic-control: README
Added simple README to give an overview of the plugin.
Also the value of the latency controls were changed.
2016-09-09 12:32:10 +02:00
Alessandro Puccetti
71f9d8874f plugins/traffic-control: Some style fixes
Comment before exported functions.
When `if` block ends with a return statement, drop the else and outdent its block.
2016-09-09 12:31:53 +02:00
Alessandro Puccetti
2bbcd415d1 plugins/traffic-control: add table prefix constant
For cleaner code
2016-09-06 11:53:36 +02:00
Alessandro Puccetti
c213270028 plugins/traffic-control: remove latency and packet loss from generic metadata
Latency and packet loass are displayed in the table, there is not need to
show them in the general section too.
2016-09-06 11:53:36 +02:00
Alessandro Puccetti
c0fca6d2be plugins/traffic-control: spilt getControls()
This is done to make easier get specific controls when MetadataRow will
accept controls.
2016-09-06 11:53:36 +02:00
Alessandro Puccetti
83c8e7af34 plugins/traffic-control: latency and packet loss can be combined
This patch allows to set latency and packet loss parameters together
by "adding" the new paramter to the qdisc.
2016-09-06 11:53:36 +02:00
Alessandro Puccetti
79453519b2 plugins/traffic-control: separate function for clear settings
Make easier to combine latency and packet loss settings.
2016-09-06 11:53:36 +02:00
Alessandro Puccetti
176cb5f99f plugins/traffic-control: added packet drop control
Packet drop control set 10% of packet drop
2016-09-06 11:53:36 +02:00
Alessandro Puccetti
5d3e5b23ec plugins/traffic-control: added clear setting control
This control remove any previous setting
2016-09-06 11:53:35 +02:00
Alessandro Puccetti
6eefb70628 plugins/traffic-control: add packet loss to the report
This patch add packet loss to the report and the appropriet metadata template.
2016-09-06 11:53:35 +02:00
Alessandro Puccetti
8cbd2c2db6 plugins/traffic-control: create Traffic control table
The traffic control plugin will display the status in this table.
2016-09-06 11:53:35 +02:00
Alessandro Puccetti
9df70ec380 plugins/traffic-control: refactoring
Use string for delay and packet loss parameter, code refactoring,
improved error messages, fix typos, add empty status representation,
fix namesapce ID representation.
2016-09-06 11:53:35 +02:00
Alessandro Puccetti
a743b59dcf plugins/traffic-control: added status caching
To avoid to run `tc` every tic to get the qdisc status, we cache it.
The cache is updated every time a value is changed via the control interface.

NOTE: This will keep track only of the changes by done the plugins interface,
if the qdisc parameters are changed by another applcation or by the user
via terminal, such changes will not be caught.
2016-09-06 11:53:35 +02:00
Alessandro Puccetti
068c366aa8 plugins/traffic-control: add status information in metadata
This patch sends the delay and packet loss values along with
the container metadata. In this way the user has a direct feedback
about the traffic control plugin status.
2016-09-06 11:53:35 +02:00
Krzesimir Nowak
c5cc9814fe Add an example traffic control plugin
As it is an initial implementation, it only controls latency of the
outgoing (egress) traffic. There is also a TODO to turn this plugin
into something more serious. Also, at some point we may consider
moving this plugin outside of "example" directory.
2016-09-06 11:53:35 +02:00
Alfonso Acosta
c10c58459b Fix spelling mistakes 2016-08-18 17:48:45 +00:00
Krzesimir Nowak
2a0972653c Rewrite plugin readme
Give a bit more information about how to write a plugin.
2016-08-12 17:15:43 +02:00
Krzesimir Nowak
9e092f1a4a Switch to LatestMap-style node controls
This allows plugins to add controls to nodes that already have some
controls set by other plugin. Previously only the last plugin that
sets the controls in the node would have its controls visible. That
was because of NodeControls' Merge function that actually weren't
merging data from two inputs, but rather returning data that was newer
and discarding the older one.
2016-08-12 17:15:43 +02:00
Krzesimir Nowak
f17a995892 Marshal structs in the iowait example plugin
This is better than writing JSON strings by hand, which is
error-prone.
2016-08-12 17:03:42 +02:00