Commit Graph
5757 Commits
Author SHA1 Message Date
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 BorehamandGitHub 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 BarlandGitHub 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 HolbachandGitHub 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 BarlandGitHub 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 BarlandGitHub 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 BorehamandGitHub 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 BorehamandGitHub 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 HolbachandGitHub 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 BarlandGitHub 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
SimonandGitHub 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 EdwardsandGitHub 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
guyfedwards f645d116fa fix: update materialize-css to update jquery
Updates jquery to fix 2 medium impact vulnerabilities

https://nvd.nist.gov/vuln/detail/CVE-2015-9251
https://nvd.nist.gov/vuln/detail/CVE-2016-10707
2019-02-26 14:52:21 +00:00
Filip BarlandGitHub 021c1ae859 Merge pull request #3572 from weaveworks/3548-confirmation-dialog-for-deleting-pod
Add a confirmation dialog for deleting a pod.
2019-02-26 14:12:51 +01:00
Filip Barl e66a3e08dc Add a confirmation dialog for deleting a pod. 2019-02-26 11:57:00 +01:00
Filip BarlandGitHub 6074655eb0 Merge pull request #3571 from weaveworks/implement-report-censorship
Conditional report censoring
2019-02-26 11:55:37 +01:00
Filip Barl b9e692c3b3 Lock the time in tests to make them pass. 2019-02-25 11:35:33 +01:00
Filip Barl 353ab75ddb Added some tests for censoring. 2019-02-23 19:30:42 +01:00
Filip Barl c5022bd2bb Code cleanup. 2019-02-22 14:56:44 +01:00
Filip Barl 2c56ec2bf1 Made censoring work properly. 2019-02-21 16:46:17 +01:00
Filip Barl 0f1b7e5972 Prepare to filter node summaries post-render. 2019-02-21 16:18:24 +01:00
Filip Barl 3c5320ef09 Polished the code and applied censoring to other API endpoints. 2019-02-21 14:34:05 +01:00
Filip Barl 97fdcdc525 Option to censor raw reports by command line args and env vars. 2019-02-15 17:31:08 +01:00
Bryan Boreham b739a5ce5e Add CPU and memory requests to example Kubernetes manifests
If you don't specify, the default is typically 0 which (a) gives the
Kubernetes scheduler a false idea of expected usage and (b) makes the
Linux scheduler penalise the Scope processes under contention.

For best results adjust the figures here after observing actual usage
on your cluster.
2019-02-13 17:56:59 +00:00
Bryan Boreham 163b7fa6be Update example yamls to probe Kubernetes once per cluster
We stop the per-host probes talking to Kubernetes and run an extra
Deployment with one more probe process to collect all information for
the cluster, which is less resource-intensive overall.

This feature was added at #3274
2019-02-13 17:52:07 +00:00
Bryan Boreham c0b2690679 Release 1.10.2 v1.10.2 2019-02-12 16:21:58 +00:00
Daniel HolbachandGitHub 055608acf5 Merge pull request #3568 from weaveworks/update-lodash
fix CVE-2018-16487 (lodash vulnerability)
2019-02-11 12:57:39 +01:00
Daniel Holbach febe9b69e3 fix CVE-2018-16487 (lodash vulnerability)
Signed-off-by: Daniel Holbach <daniel@weave.works>
2019-02-11 11:57:12 +01:00
Bryan BorehamandGitHub 0c3f565842 Merge pull request #3557 from weaveworks/update-xterm
update xterm.js dependency (CVE-2019-0542)
2019-02-04 16:45:03 +00:00
Bryan BorehamandGitHub d9a0232124 Merge pull request #3562 from AVRahul/fix/hover-sidebar
Fixed the sidebar namespaces hover effect at last-child
2019-02-04 16:41:21 +00:00
tiriplicamihai a6bc6b0148 Use break instead of continue. 2019-01-28 23:06:18 +02:00
tiriplicamihai 1aadf5c606 Fix dnssnooper probe for multiple CNAMEs. 2019-01-28 13:49:16 +02:00
SimonandGitHub fb32d6e9bb Merge pull request #3565 from weaveworks/include-node-control-id-on-dom
Include the node control's id as an attr on the node control button
2019-01-23 14:27:00 +01:00