Commit Graph

5161 Commits

Author SHA1 Message Date
Lucille Tachet
61b8a7f889 client: update stopped container message
Fixes #2879
2018-10-18 23:15:31 +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
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
Rich
9c4f6b5544 Update README.md
Minor punctuation and capitalization edits
2018-10-09 18:21:01 -05:00
Bryan Boreham
b87464f53a Merge pull request #3380 from weaveworks/use-request-context
Use the Context in the request
2018-10-09 17:10:18 +01:00
Bryan Boreham
b28a73da91 Merge pull request #3373 from ssiddhantsharma/patch-1
Updated license year from 2017 to 2018.
2018-10-09 17:09:00 +01:00
Bryan Boreham
724ccd9826 Use the Context in the request 2018-10-09 15:50:59 +00:00
Bryan Boreham
2ec58da1cf Don't report dead processes
If the state is reported as dead or zombie, return an error so the
process will be skipped.
2018-10-09 14:32:02 +00:00
Bryan Boreham
d71a7328ed Merge pull request #3364 from Xivolkar/master
#3302: Absolute basic UT
2018-10-08 14:37:02 +01:00
Siddhant Sharma
e68e99f84f Updated license year to 2018.
Writing test scripts to automatically update license dates!
2018-10-07 20:56:25 +05:30
Bryan Boreham
2df3a6c875 Put the correct version info in for AMIs 2018-10-05 13:10:45 +00:00
Bryan Boreham
34e6640dd9 Merge pull request #3354 from jgsqware/adding-psp-support
example k8s: add support for PodSecurityPolicy
2018-10-03 16:54:16 +01:00
Ajay Kelkar
68bce4f57c Using assert for equality checks 2018-10-03 14:19:54 +05:30
Bryan Boreham
c67b42a631 Merge pull request #3360 from weaveworks/update-ui-build
Update CI UI build container to master-c0b60a16
2018-10-02 16:27:47 +01:00
Bhavin Gandhi
9c2fe36c0e Remove weaveutil and weave from Dockerfile.cloud-agent
- Moves the weave and weaveutil from Dockerfile.cloud-agent to
  Dockerfile.scope

Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
2018-10-02 10:59:51 +05:30
Ajay Kelkar
27a0b2460d Absolute basic UT 2018-10-01 21:26:26 +05:30
Marcus Cobden
c8878c736b Update CI UI build container to master-c0b60a16 2018-09-28 16:38:18 +01:00
Marcus Cobden
c0b60a1653 Merge pull request #3356 from weaveworks/fix-bundle-upload
Fix path confusion in bundle building
2018-09-26 13:24:45 +01:00
Marcus Cobden
041ebed8a3 Fix path confusion in bundle building 2018-09-26 12:16:49 +01:00
Marcus Cobden
1e67ef2231 Merge pull request #3353 from weaveworks/rework-ui-build
Rework UI build to improve caching and fix packaging issue
2018-09-26 11:47:24 +01:00
Marcus Cobden
3f37ec011b Also cache the client/node_modules 2018-09-26 11:22:54 +01:00
Marcus Cobden
3a0dc3c34f Fix CI by removing Dockerfile workdir 2018-09-26 10:41:31 +01:00
Marcus Cobden
aafab27c74 Add Makefile target for UI build toolchain 2018-09-26 10:41:31 +01:00
Marcus Cobden
c03e6a0e50 Rework UI build to improve caching and fix packaging issue
Stop baking the toolchain and dependencies into the build image.
Instead, run the install step each time, but use volume mounts or
CircleCI caching to keep the happy path fast.

Previously, some parts of the client (UI) directory were baked into the build
image, and some parts were mounted or copied into the build environment.
As a result, files baked into the build image require a two-step
update for changes to take effect in CI.

Now, for dockerised builds, we pre-install very little into the build
image and mount the whole directory into the build environment.
However, we do overlay a volume on the node_modules folder to allow the
standard build toolchain to be separate from the host build toolchain.

Non-dockerised builds (e.g. CI) are now more similar to the dockerised
versions.
2018-09-26 10:41:30 +01:00
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
Bryan Boreham
b3ce733230 Merge pull request #3339 from weaveworks/note-public-amis
Note how to make an EC2 AMI public
2018-09-26 10:06:35 +01:00
Bryan Boreham
2df731b418 Merge pull request #3347 from visualapps/fix-terminal-in-contrast-mode
import missing terminal.scss in contrast.scss
2018-09-25 17:39:02 +01:00
Filip Barl
fdd3c4f147 Bump ui-components to v0.12.3 2018-09-24 15:39:59 +02:00
Filip Barl
3f66348ad7 Bump ui-components to v0.12.2 2018-09-17 16:43:19 +02:00
Filip Barl
39530aaaea Merge pull request #3349 from weaveworks/3348-on-route-change-hook
Add onRouteChange hook to Scope app
2018-09-17 14:10:42 +02:00