Commit Graph

5377 Commits

Author SHA1 Message Date
Satyam Zode
6b758564d2 Upgrade the weaveworks ui-components to 0.20.0
- Include shape for dottedtriangle

Signed-off-by: Satyam Zode <satyamzode@gmail.com>
2019-05-20 16:55:24 +05:30
Satyam Zode
36361d6b7d Add Kubernetes Job support to Weave Scope
This covers:
- Implementation of the job resource in probe
- Reporter changes for the job
- Add Describe Control to the job
- Pass job object to the kube controller renderer

ToDo:
- Need to decide the shape for the Job.

Signed-off-by: Satyam Zode <satyamzode@gmail.com>
2019-05-19 02:36:45 +05:30
Filip Barl
cdc33855d4 Merge pull request #3589 from openebs/feature/kubectl-describe
Add describe control to all k8s resources
2019-05-17 13:37:15 +02:00
Akash Srivastava
5a53ca350e Update rank of DeletePod control from 1 to 3
Signed-off-by: Akash Srivastava <akashsrivastava4927@gmail.com>
2019-05-17 15:59:08 +05:30
Bryan Boreham
1e2206963a Merge pull request #3599 from weaveworks/per-tenant-metrics
Add metrics for report size and count per tenant
2019-05-15 13:44:42 +01:00
Bryan Boreham
870b52eec0 Review feedback: metric description 2019-05-15 12:43:22 +00:00
Bryan Boreham
474ada4ae9 Merge pull request #3598 from weaveworks/readbinary-span
Add OpenTracing span for report.ReadBinary()
2019-05-15 13:08:04 +01:00
Bryan Boreham
711aa66bd5 Add OpenTracing span for report.ReadBinary()
So we can see the timing and size in Jaeger.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2019-05-10 15:34:53 +00:00
Bryan Boreham
4c74f8b1cf Add metrics for report size and count per tenant
In a multitenant system it is useful to be able to drill into which
tenants have the most or biggest reports.

Signed-off-by: Bryan Boreham <bryan@weave.works>
2019-05-10 14:49:57 +00:00
Bryan Boreham
72882835d5 Merge pull request #3566 from tiriplicamihai/fix-dns-snooper-multiple-cnames
Fix dnssnooper probe for multiple CNAMEs.
2019-05-07 16:04:18 +01:00
tiriplicamihai
0b4e26ed77 Fix formatting. 2019-04-30 19:24:23 +03:00
tiriplicamihai
92d3c1d5e9 Fix test data. 2019-04-30 19:09:02 +03:00
tiriplicamihai
1fbe648e82 Add newline. 2019-04-30 18:41:16 +03:00
tiriplicamihai
364a7423a5 Add tests for dns snooper. 2019-04-30 18:38:07 +03:00
Daniel Holbach
f03f41eedf Merge pull request #3596 from weaveworks/remove-materialize-css-dep
Remove materialize-css JS dep
2019-04-15 09:06:29 +02:00
Satyam Zode
8a9fc2b05a Merge pull request #3595 from weaveworks/3594-update-k8s-example-permissions
Update examples/k8s RBAC permissions
2019-04-15 10:37:35 +05:30
Simon
9e4e8d3478 Merge pull request #3593 from leavest/wheel-event
Fix bug 56+ chrome can't prevent default wheel events.
2019-04-12 09:13:33 +02:00
Filip Barl
9e7730bbc7 Remove materialize-css JS dep. 2019-04-11 16:12:15 +02:00
Filip Barl
7e39c0458d Update examples/k8s RBAC permissions. 2019-04-11 15:59:31 +02:00
leavest
16c53a7526 https://www.chromestatus.com/features/6662647093133312
Fix bug where 56+ chrome can't prevent default wheel events.

Fixes #3592
2019-04-09 17:26:24 +08:00
Bryan Boreham
7f681403fd Merge pull request #3583 from weaveworks/addr-add-dot
Add a dot to make DNS names absolute
2019-04-08 16:38:23 +01:00
Akash Srivastava
029bbbcec8 Add describe control to all k8s resources
This commit will add a new control i.e. Describe
which will describe a k8s resource similar to kubectl describe.

Signed-off-by: Akash Srivastava <akashsrivastava4927@gmail.com>
2019-04-01 11:22:12 +05:30
Akash Srivastava
9bfa151a4f Add kubectl describe package as dependency
Commands used:-
gvt fetch --no-recurse -tag v1.13.0 k8s.io/kubernetes/pkg/kubectl/describe
gvt fetch --no-recurse -tag v1.13.0 k8s.io/kubernetes/pkg/kubectl/util
gvt fetch --no-recurse -tag v1.13.0 k8s.io/kubernetes/pkg/kubectl/scheme
gvt fetch --no-recurse -tag kubernetes-1.13.0 k8s.io/cli-runtime/pkg/genericclioptions
gvt fetch --no-recurse -tag v1.0.0 github.com/fatih/camelcase

Signed-off-by: Akash Srivastava <akashsrivastava4927@gmail.com>
2019-03-31 15:46:36 +05:30
Bryan Boreham
50cd878a95 Merge pull request #3588 from openebs/upgrade/client-go
Upgrade client-go version to 10.0.0
2019-03-29 17:36:48 +01:00
Akash Srivastava
8d784b7102 Upgrade client-go version to 10.0.0
This will
Upgrade:
        - k8s.io/client-go v10.0.0
	- k8s.io/api version to kubernetes-1.13.0
	- k8s.io/apimachinery version to kubernetes-1.13.0
        - github.com/imdario/mergo to v0.3.5

Add:
        - k8s.io/klog v0.1.0
        - sigs.k8s.io/yaml v1.1.0

Changes:
        - modified:   probe/kubernetes/client.go
        - modified:   probe/kubernetes/controls.go

To ScaleUp and ScaleDown a Deployment, Scale method was used,
which is removed in client-go-10.0.0
Instead of Scale use UpdateScale method of Deployment to
ScaleUp and ScaleDown the Deployment.

Signed-off-by: Akash Srivastava <akashsrivastava4927@gmail.com>
2019-03-29 17:04:14 +05:30
Filip Barl
68a12781ee Merge pull request #3587 from weaveworks/fix-babel-pkg-builds
Fix build-pkg script
2019-03-26 16:51:03 +01:00
Filip Barl
a945ac2fe5 Fix build-pkg script - make Babel fully transform the package files. 2019-03-26 16:29:22 +01:00
Daniel Holbach
6905339baa Merge pull request #3586 from dholbach/fix-path-typo-in-deploy-docs
The path is actually examples/k8s
2019-03-26 14:55:27 +01:00
Filip Barl
909395c871 Merge pull request #3580 from weaveworks/experimental-upgrade-webpack-4
Upgrade to Webpack 4
2019-03-26 14:40:55 +01:00
Filip Barl
0b1a1f4858 Bumped jest and fixed the feature storage. 2019-03-26 12:28:57 +01:00
Filip Barl
019ab0ff80 Update some node deps. 2019-03-26 12:01:58 +01:00
Daniel Holbach
833ca3f2c0 make GKE related note stand out visually a bit more 2019-03-25 11:02:30 +01:00
Daniel Holbach
f7bf4c9601 The path is actually examples/k8s.
Signed-off-by: Daniel Holbach <daniel@weave.works>
2019-03-25 10:53:32 +01:00
Filip Barl
a32bcc436c Merge pull request #3582 from weaveworks/3581-raw-report-time-travel-context
Use Time Travel context when downloading raw reports
2019-03-22 14:32:04 +01:00
Bryan Boreham
8f9b8c52d6 Add a dot to make DNS names absolute
Kubernetes sets up a lengthy DNS search path, so any names are looked
up multiple times. Adding a dot at the end tells the DNS resolver the
name is absolute, and should not be tried against the search path.

This will reduce pointless DNS lookups.
2019-03-19 11:13:18 +00:00
Bryan Boreham
fc0d15a8af Merge pull request #3570 from weaveworks/yaml-requests
Add CPU and memory requests to example Kubernetes manifests
2019-03-14 18:06:40 +00:00
Bryan Boreham
5f93302b2e Merge pull request #3569 from weaveworks/probe-k8s-once-yamls
Update example yamls to probe Kubernetes once per cluster
2019-03-14 18:06:24 +00:00
Filip Barl
050017085e Use Time Travel context when downloading raw reports. 2019-03-14 15:54:50 +01:00
Daniel Holbach
da2cce3691 Merge pull request #3578 from weaveworks/security-fixes
Security fixes in dev dependencies (part 1)
2019-03-05 14:12:13 +01:00
Daniel Holbach
5405815bf6 revert react-redux update 2019-03-05 12:48:27 +01:00
Daniel Holbach
527eb149d8 update stylelint components 2019-03-05 10:39:08 +01:00
Daniel Holbach
413bf598a8 update redux and react-redux 2019-03-03 11:08:01 +01:00
Daniel Holbach
d490e7a520 update dagre 2019-03-03 10:56:06 +01:00
Daniel Holbach
403132c7d5 update express 2019-03-01 18:25:28 +01:00
Daniel Holbach
e78de35b15 drop browser-perf, it was never used. update to latest css-loader that does not break compatibility.
Signed-off-by: Daniel Holbach <daniel@weave.works>
2019-03-01 18:12:04 +01:00
Filip Barl
e373b04ff4 Merge pull request #3575 from weaveworks/3531-faq-extend-basic-auth
Extend FAQ with basic auth through env variables
2019-02-28 10:54:01 +01:00
Simon
e6da9615f9 Merge pull request #3574 from weaveworks/upgrade-ui-cmp-0191
Upgrade ui-cmp and some of similar deps
2019-02-28 08:59:33 +11:00
Filip Barl
6aeb8ac6d1 Extend FAQ with basic auth through env variables. 2019-02-27 13:42:39 +01:00
Simon Howe
e07c67a617 Upgrade ui-cmp and some of similar deps
- So everyone is on the same styled-components
- Only visual diff found: terminal font is a bit heavier
2019-02-27 12:30:52 +11:00
Guy Edwards
561a7c43bb Merge pull request #3573 from weaveworks/update-materialize-css
fix: update materialize-css to update jquery
2019-02-26 16:30:28 +00:00