gotjosh
beeb27810c
Add tests for probe/cri/registry
...
Unhappy path tests try to cover three scenarios:
- When the endpoint URL scheme is not explicitly supported e.g. HTTP
- When the endpoint URL scheme is TCP which is also not supported
- When the fail to parse the given URL (to extract the scheme)
The happy path covers two scenarios:
- When we specify the supported scheme in the URL which is an unix
socket e.g. unix///var/run/dockershim.sock
- When we pass a socket address but fail to specify the scheme but our registry attempts
to use the fallback protocol e.g. var/run/dockershim.sock
2018-11-01 20:17:03 +00:00
Bryan Boreham
c70c90d2a7
Merge pull request #3405 from akshatnitd/add-license-readme
...
Add LICENSE info to README.md
2018-10-31 15:18:26 +00:00
Akshat Garg
ea7742659a
Add LICENSE info to README.md
2018-10-31 09:35:37 +05:30
Bryan Boreham
ef836248c6
Merge pull request #3415 from gfeun/patch-1
...
Fix typo
2018-10-30 16:35:46 +00:00
Bryan Boreham
2e87b02116
Merge pull request #3396 from ltachet/dead-container-msg
...
client: update stopped container message
2018-10-30 16:30:37 +00:00
gfeun
725632989c
Fix typo
...
Fix sentence meaning according to [https://github.com/weaveworks-plugins/scope-http-statistics plugin page: "it has a negligible performance toll"
2018-10-29 15:07:16 +01:00
Bryan Boreham
e0e73e4ae8
Merge pull request #3395 from dholbach/update-docs-links
...
update help section
2018-10-29 12:27:18 +00:00
Bryan Boreham
01e50a11c0
Merge pull request #3397 from weaveworks/satyam-maintainer
...
Add Satyam Zode as maintainer
2018-10-29 12:26:03 +00:00
Lucille Tachet
bb428b819b
client: fix renderNotAvailable message
2018-10-28 17:01:02 +01:00
Bryan Boreham
3be8cf71dd
Add more Opentracing detail to the app ( #3383 )
...
* Pass Go context down to Renderers
This is useful for cancellation or tracing.
* Add tracing spans to app
Also log things like number of nodes in Map, total number of reports.
2018-10-26 11:21:33 +05:30
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
Daniel Holbach
371fc3af1a
Merge pull request #3399 from dholbach/fix-link-in-features-doc
...
close quotation marks
2018-10-25 09:08:35 +02:00
Roland Schilter
1a1fb09bfc
Merge pull request #3402 from muthumalla/master
...
Slack Status link is broken
2018-10-23 13:34:16 -07:00
muthumalla
8e299d2bef
Update README.md
2018-10-22 20:02:31 -07:00
muthumalla
f8a66f7c1d
Slack Status link is broken
2018-10-22 13:53:51 -07:00
Daniel Holbach
2182664226
close quotation marks
...
Signed-off-by: Daniel Holbach <daniel@weave.works >
2018-10-22 09:47:42 +02:00
Bryan Boreham
8cccbb695b
Merge pull request #3274 from weaveworks/kubernetes-tagger
...
Enable Kubernetes objects to be reported just once in a cluster
2018-10-19 16:48:37 +01:00
Bryan Boreham
1d3c44ad0f
Add Satyam Zode as maintainer
...
Signed-off-by: Bryan Boreham <bryan@weave.works >
2018-10-19 13:55:01 +00:00
Lucille Tachet
61b8a7f889
client: update stopped container message
...
Fixes #2879
2018-10-18 23:15:31 +02:00
Daniel Holbach
3a3c1e1daf
regroup 'help' entries, update slack inviter link, refer to governance and contributing docs
...
Signed-off-by: Daniel Holbach <daniel@weave.works >
2018-10-18 19:02:37 +02:00
Bryan Boreham
1b71a10559
Merge pull request #3355 from openebs/volume-snapshot
...
Add volume snapshot and clone support
2018-10-18 17:23:15 +01:00
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
Bryan Boreham
2a5f871d74
Merge pull request #3379 from weaveworks/dont-report-dead-processes
...
Probe: Don't report dead or defunct processes
2018-10-16 16:01:16 +01:00
Akash Srivastava
4701c61969
Add clone support for volume snapshot
...
- Add control on volume snapshot to take clone
- Add control on volume snapshot to delete it
Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io >
2018-10-16 01:04:44 +05:30
Akash Srivastava
8692a4d57d
Add control on PVC to take volume snapshot
...
Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io >
2018-10-16 01:04:44 +05:30
Akash Srivastava
81a682893f
Add kubernetes volume snapshot support
...
- Add a new client in probe/kubernetes/client.go
which will be used to fetch details of Snapshot CRD
- Visualize VolumeSnapshot and VolumeSnapshotData
- Add adjacency between PV and VolumeSnapshot
- Add adjacency between VolumeSnapshot and VolumeSnapshotData
- Add snapshot filter to hide and show snapshots
Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io >
2018-10-16 01:04:44 +05:30
Akash Srivastava
bcaf0ae4b1
Add snapshot client as a dependency
...
- Snapshot is a CRD residing in kubernetes-incubator/external-storage
It doesn't have a proper clientset.
- A PR for proper clientset is already raised.
Until the PR is merged, we are using openebs/k8s-snapshot-client
as a snapshot client.
Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io >
2018-10-16 01:04:44 +05:30
Akash Srivastava
ea9ad0a1e6
Update topology to include tag
...
Tag can be used to specify the sub-shape for the given node.
Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io >
2018-10-16 01:04:42 +05:30
Bryan Boreham
2d63f99ffa
Merge pull request #3369 from bhavin192/cloud-agent-docker
...
Remove weaveutil and weave from Dockerfile.cloud-agent
2018-10-15 16:38:39 +01:00
Bryan Boreham
b2bc696c7e
Merge pull request #3387 from hexmind/Graph-icon-is-confusing-#2511
...
scripts: replace share icon with sitemap (graph)
2018-10-15 16:06:08 +01:00
Bryan Boreham
bff0302259
Merge pull request #3391 from weaveworks/only-local-pods
...
Discard pod updates for other nodes
2018-10-15 14:16:18 +01:00
Bryan Boreham
502cf3a6b4
Merge pull request #3386 from weaveworks/ratelimit-shortcut-reports
...
Probe: Rate-limit report publishing
2018-10-15 14:15:33 +01:00
Bryan Boreham
b82aff1210
Discard pod updates for other nodes
...
We were filtering pods to those on the local node already, for regular
reports, so we should also filter events that come in asynchronously.
2018-10-14 15:24:34 +00:00
Bryan Boreham
195c4e030e
Raise report publishing rate to 30ms default
2018-10-14 12:10:27 +00:00
Bryan Boreham
da01ce0fbb
Merge pull request #3389 from WhiteHatTux/feature/fix-get-golint
...
build: Fix import for golint
2018-10-14 12:11:30 +01:00
Timm, Christopher
52024d8b48
build: Fix import for golint
...
The import path for golint has changed
Fixes #3388
2018-10-13 17:59:08 -05:00
Tomasz Skowroński
b6d4538663
scripts: replace share icon with sitemap (graph)
...
fix confusing graph icon
Fixes #2511
2018-10-13 19:56:35 +02:00
Bryan Boreham
64197d15be
Rate limit report publishing
...
So that, if many shortcut reports are produced in quick succession,
they will tend to get merged together.
Expand the queue size for shortcut reports, to avoid holding up the
producer so much.
2018-10-13 14:18:52 +00:00
Bryan Boreham
0c394e689a
Fix pod host propagation
2018-10-12 13:47:39 +00:00
Bryan Boreham
fb96fe0024
Turn everything else off in Kubernetes cluster probe
2018-10-12 11:52:34 +00:00
Bryan Boreham
78eaf93c21
Make flag names easier to understand
...
Now you specify a role instead of controlling the internal behaviour
2018-10-12 08:06:32 +00:00
Bryan Boreham
1279a02b7d
Stop tagging pods with host ID
...
So they can be reported centrally, find the pod host ID from the child
containers.
2018-10-11 17:54:29 +00:00
Bryan Boreham
98d52bd480
Allow kubelet port to be disabled
2018-10-11 17:54:29 +00:00
Bryan Boreham
38ea862bfd
Check if dockerBridge is nonblank before using it
...
This gives us the option of disabling the function
2018-10-11 17:54:28 +00:00
Bryan Boreham
88049b0817
Add option for Kubernetes tagging when kubernetes probing disabled
...
This enables us to run Kubernetes probing on one node for the whole cluster.
2018-10-11 17:54:28 +00:00
Bryan Boreham
dd21a55a1e
Refactor: implement kubernetes tagger in separate struct
2018-10-11 17:54:28 +00:00
Bryan Boreham
9c7498dc19
Merge pull request #3381 from rvrvrv/patch-1
...
Update README.md with minor punctuation and capitalization edits
2018-10-11 17:38:03 +01:00
Marcus Cobden
9b31c85701
Merge pull request #3382 from weaveworks/fix-dir-owner-root
...
Fix UI toolchain dir permissions error
2018-10-11 13:51:06 +01:00
Marcus Cobden
4dd6f4cd2b
Create UI toolchain dirs from Makefile
...
To prevent docker from creating it with root as the owner
2018-10-11 11:07:19 +01:00